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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue