mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
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
Block a user