Commit 9e588125 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by James Almer

avformat/mux: split side data before internal auto BSF

The bitstream filters do not work with merged in side data

This leaves the input packet split if it is being split.
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 6005c7e6
......@@ -878,6 +878,9 @@ static int do_packet_auto_bsf(AVFormatContext *s, AVPacket *pkt) {
}
}
if (st->internal->nb_bsfcs)
av_packet_split_side_data(pkt);
for (i = 0; i < st->internal->nb_bsfcs; i++) {
AVBSFContext *ctx = st->internal->bsfcs[i];
if (i > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment