[FFmpeg-devel] Bug Fix Patch Proposal: Sound fragments after seeking

Ole Dittmann kaptnole at freenet.de
Mon May 7 15:43:42 CEST 2012


See attached diff file and
https://ffmpeg.org/trac/ffmpeg/ticket/420
for an explanation.
(the part after the ticket has been reopened)

Greetings, Ole
-------------- next part --------------
diff --git a/Source/ffmpeg_old/libavcodec/aacdec.c b/Source/ffmpeg/libavcodec/aacdec.c
index bbbfce5..a776ed3 100644
--- a/Source/ffmpeg_old/libavcodec/aacdec.c
+++ b/Source/ffmpeg/libavcodec/aacdec.c
@@ -2883,6 +2883,7 @@ AVCodec ff_aac_decoder = {
     },
     .capabilities    = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1,
     .channel_layouts = aac_channel_layout,
+    .flush = flush,
 };
 
 /*


More information about the ffmpeg-devel mailing list