[FFmpeg-devel] [PATCH 1/2] lavc/utils: merge side data after video encode.
Clément Bœsch
ubitux at gmail.com
Thu Apr 18 19:05:32 CEST 2013
This allows encoders to communicate side data to the muxers.
---
libavcodec/utils.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 208bed1..f47d825 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1772,6 +1772,8 @@ int attribute_align_arg avcodec_encode_video2(AVCodecContext *avctx,
if (ret < 0 || !*got_packet_ptr)
av_free_packet(avpkt);
+ else
+ av_packet_merge_side_data(avpkt);
emms_c();
return ret;
--
1.8.2.1
More information about the ffmpeg-devel
mailing list