[FFmpeg-devel] [PATCH 2/2] avformat/tee: fix multiple bsfs in tee

Nicolas George george at nsup.org
Wed Jun 25 12:56:20 EEST 2025


Marvin Scholz (HE12025-06-25):
> Since 155508c6e925f4f2f5e77087a7e1925b3de735ff specifying multiple
> bsfs for different streams was broken:
> 
> "[bsfs/a=h264_metadata:bsfs/v=h264_metadata]out.mp4|..."
> 
> This incorrectly only parsed the first bsfs specification. The reason
> for this is that the dictionary is modified in the iterator, hence
> invalidating the iterator. The simplest fix for this is to simply
> iterate from the beginning in each loop given that the previous entry
> is removed.
> ---
>  libavformat/tee.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Sould be ok, thanks.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list