Seems reasonable patch at least to prevent a crash.  I built it, ran CinGG, and it does not appear to cause any problems so next time I boot the desktop, I will check it into GIT.


On Mon, Nov 21, 2022 at 3:26 AM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
I tried to fix our internal bitstream filtering on muxing using this code

https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/tee.c

it works in sense it stopped crashing and adding simple filter like dump_extra makes file a bit bigger.

But complex stuff like cropping or rotation still does not work  :-(

not sure, may be we need to add those options via av_dict_set too ?