summaryrefslogtreecommitdiff
path: root/libavcodec/aacdec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-05-12 22:06:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-13 01:59:51 +0200
commita7c0c79333fe30263b4729901a2a41ef8d2891f6 (patch)
tree9a401e0a7efcedb9894563c41123e8f0f5ab4991 /libavcodec/aacdec.c
parent00f5c8f98de69abbcb5b2ca94b91efd9b22dfe36 (diff)
aacdec: remove a duplicated line
got_frame_ptr is set again after the if block. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacdec.c')
-rw-r--r--libavcodec/aacdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index a405fafd7e..48cf637b79 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -3079,7 +3079,6 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data,
goto fail;
}
- *got_frame_ptr = !!samples;
if (samples) {
ac->frame->nb_samples = samples;
ac->frame->sample_rate = avctx->sample_rate;