libavformat/movenc.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) libavformat/flvenc.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-)
In the spirit of commits 1b5bd4051d1e394f0429cbf6cf6c137f55857478 and b287d7ea17f404a51eb3fdca80fa8a8b1fb7dd8b, where Rodger Combs applied his new mechanism of automatic bitstream filter insertion to lavf/mpegtsenc and lavf/matroskaenc, these patches add the aac_adtstoasc bsf to lavf/flvenc and lavf/movenc, replacing their error checks. Rodger's commits also introduced *_init() functions for each format. I don't understand whether that is necessary. These patches work for me just as they are. Tested against several input files containing and not containing ADTS. Fate was not run. Please comment. Cheers, Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel