From a7c0c79333fe30263b4729901a2a41ef8d2891f6 Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Tue, 12 May 2015 22:06:22 +0200 Subject: [PATCH] aacdec: remove a duplicated line got_frame_ptr is set again after the if block. Signed-off-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- libavcodec/aacdec.c | 1 - 1 file changed, 1 deletion(-) 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;