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

Marvin Scholz epirat07 at gmail.com
Thu Jun 26 18:42:58 EEST 2025



On 25 Jun 2025, at 11:56, Nicolas George wrote:

> 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.
>

Pushed as f744584f7160db99c1003ef938c53d26eb427b00, thanks.

> Regards,
>
> -- 
>   Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list