The new automatically inserted bitstream filters are not compatible with merged side data. This works around this by spliting the side data out.
Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 28daf5f..6c02091 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -787,11 +787,11 @@ static void output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost) { int ret = 0; + av_packet_split_side_data(pkt); /* apply the output bitstream filters, if any */ if (ost->nb_bitstream_filters) { int idx; - av_packet_split_side_data(pkt); ret = av_bsf_send_packet(ost->bsf_ctx[0], pkt); if (ret < 0) goto finish; -- 2.10.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel