diff --git a/ffmpeg.c b/ffmpeg.c index 97922816ca3934d88418b9c81750d8610f5a79d6..10311ef49591ab55405f0623910e6d799ed4f611 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -597,6 +597,9 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost) ost->frame_number++; } + if (bsfc) + av_packet_split_side_data(pkt); + while (bsfc) { AVPacket new_pkt = *pkt; int a = av_bitstream_filter_filter(bsfc, avctx, NULL,