lavc/utils: merge side data after video encode.

This allows encoders to communicate side data to the muxers.
This commit is contained in:
Clément Bœsch 2013-04-18 17:19:37 +02:00
parent 3d786591b8
commit 7b80b3cef0
1 changed files with 2 additions and 0 deletions

View File

@ -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;