[FFmpeg-devel] [PATCH] libavformat: fix inputs initialization in mpegts muxer with filters

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Apr 18 01:13:28 EEST 2019

2019-04-17 22:28 GMT+02:00, Andreas Håkon via ffmpeg-devel
<ffmpeg-devel at ffmpeg.org>:
> This patch solves the initialization of the inputs when using filters (a
> graph filter) with the mpegts muxer.
> This bug seems to be generated by a simple forgetting to copy. The same code
> is repeated two times, but only in one case the variable “inputs_done” is
> initialized. Compare the two blocks:
> - Correct:
> https://github.com/FFmpeg/FFmpeg/blob/a0559fcd81f42f446c93357a943699f9d44eeb79/fftools/ffmpeg.c#L4627
> - Incorrect:
> https://github.com/FFmpeg/FFmpeg/blob/a0559fcd81f42f446c93357a943699f9d44eeb79/fftools/ffmpeg.c#L4616
> In addition, the patch includes a more detailed version of two LOG lines.

Please split the patch.

Carl Eugen

More information about the ffmpeg-devel mailing list