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: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
pull/240/head
Michael Niedermayer 8 years ago committed by James Almer
parent 6005c7e656
commit 9e58812519
  1. 3
      libavformat/mux.c

@ -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) {

Loading…
Cancel
Save