diff options
author | James Almer <jamrial@gmail.com> | 2020-02-02 18:44:41 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-02-22 23:19:07 -0300 |
commit | c6666894914ba8be1193ed81e9b6b737c68c29b6 (patch) | |
tree | 5ade4736c2bf0dd32eed59156a78a162c05522fa /libavcodec/mpegpicture.c | |
parent | 5dda6c173f8c8d169f934731e31d34c1fe5da75a (diff) | |
download | ffmpeg-c6666894914ba8be1193ed81e9b6b737c68c29b6.tar.gz |
avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export
Add an initial mvs flag to is, analog to the export_mvs flags2 one.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpegpicture.c')
-rw-r--r-- | libavcodec/mpegpicture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index ecbd77d50e..5fce25ec6e 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -211,7 +211,7 @@ static int alloc_picture_tables(AVCodecContext *avctx, Picture *pic, int encodin #if FF_API_DEBUG_MV avctx->debug_mv || #endif - (avctx->flags2 & AV_CODEC_FLAG2_EXPORT_MVS)) { + (avctx->export_side_data & AV_CODEC_EXPORT_DATA_MVS)) { int mv_size = 2 * (b8_array_size + 4) * sizeof(int16_t); int ref_index_size = 4 * mb_array_size; |