mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/utils: merge side data after video encode.
This allows encoders to communicate side data to the muxers.
This commit is contained in:
parent
3d786591b8
commit
7b80b3cef0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue