diff options
author | Marton Balint <cus@passwd.hu> | 2023-01-27 23:13:05 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2023-02-13 00:36:49 +0100 |
commit | 8e2c1249044e9207c88c13764797676d403e3f57 (patch) | |
tree | 2932096486147e9276aaf1b89cf8f42f2dd71d4e /libavcodec/mpegpicture.h | |
parent | 817141c562b0c2b67c87ec8825921d2f524e26fb (diff) | |
download | ffmpeg-8e2c1249044e9207c88c13764797676d403e3f57.tar.gz |
avcodec/mpegvideo_enc: do not use AVFrame.*_picture_number for encoding
Move these fields to MPEGPicture instead and use that.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/mpegpicture.h')
-rw-r--r-- | libavcodec/mpegpicture.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegpicture.h b/libavcodec/mpegpicture.h index a1455ee13c..7919aa402c 100644 --- a/libavcodec/mpegpicture.h +++ b/libavcodec/mpegpicture.h @@ -76,6 +76,9 @@ typedef struct Picture { int reference; int shared; + + int display_picture_number; + int coded_picture_number; } Picture; /** |