diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-08 10:41:30 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-22 19:16:13 +0200 |
commit | c363843a53553cbda6d42d98e8fbd165eda193fb (patch) | |
tree | fff739d65082077b7cd9b2de9ae6d3ca7e018f44 /libavformat/mux.c | |
parent | 5f1c37aefbdcefa1a68ba3ea8bbc7e70aa672960 (diff) | |
download | ffmpeg-c363843a53553cbda6d42d98e8fbd165eda193fb.tar.gz |
add missing FF_API_DESTRUCT_PACKET guards
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/mux.c')
-rw-r--r-- | libavformat/mux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c index 84c6d24919..7664872a4a 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -1045,7 +1045,11 @@ int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt, pkt->buf = local_pkt.buf; pkt->side_data = local_pkt.side_data; pkt->side_data_elems = local_pkt.side_data_elems; +#if FF_API_DESTRUCT_PACKET +FF_DISABLE_DEPRECATION_WARNINGS pkt->destruct = local_pkt.destruct; +FF_ENABLE_DEPRECATION_WARNINGS +#endif return ret; } |