[FFmpeg-devel] [PATCH] ffmpeg: Fix bsf corrupting merged side data

wm4 nfxjfg at googlemail.com
Thu Nov 10 13:39:42 EET 2016


On Thu,  3 Nov 2016 14:55:56 +0100
Michael Niedermayer <michael at niedermayer.cc> wrote:

> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  ffmpeg.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ffmpeg.c b/ffmpeg.c
> index 3b91710..6b7ce72 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -789,6 +789,7 @@ static void output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
>      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;

Can we finally get rid of this shitty merge side data hack?


More information about the ffmpeg-devel mailing list