diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-09 10:14:46 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-16 17:51:10 +0100 |
commit | 1c01b0253ebfe05f907c3a723101fe77f6dd2336 (patch) | |
tree | 38a394d0057766a4dae7d613792b25e901733eb2 /libavcodec/mpegvideo.h | |
parent | a6064b12b481072abe0df53e5996cf103994526f (diff) | |
download | ffmpeg-1c01b0253ebfe05f907c3a723101fe77f6dd2336.tar.gz |
mpegvideo_enc: use the AVFrame API properly.
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 79da9fbec4..1492d9fddc 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -754,6 +754,9 @@ typedef struct MpegEncContext { ERContext er; int error_rate; + + /* temporary frames used by b_frame_strategy = 2 */ + AVFrame *tmp_frames[MAX_B_FRAMES + 2]; } MpegEncContext; #define REBASE_PICTURE(pic, new_ctx, old_ctx) \ |