From ef818d8bf07b0d05fcede6394a6fdc624890f2d0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 13 Apr 2014 19:20:17 +0200 Subject: avformat: add av_format_inject_global_side_data(), and disable it by default After this commit applications needs to call av_format_inject_global_side_data() or handle AVStream side data by some other means if they want it not to be lost. This fixes a API incompatibility with libav. libav API does not allow the data to be passed through AVPackets Signed-off-by: Michael Niedermayer --- libavformat/internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index f19cebf22e..e9e9293f87 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -52,6 +52,8 @@ struct AVFormatInternal { * Muxing only. */ int nb_interleaved_streams; + + int inject_global_side_data; }; #ifdef __GNUC__ -- cgit v1.2.3