aacdec: remove a duplicated line
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Tue, 12 May 2015 20:06:22 +0000 (22:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 May 2015 23:59:51 +0000 (01:59 +0200)
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>
libavcodec/aacdec.c

index a405faf..48cf637 100644 (file)
@@ -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;