Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-09 13:14:46 +0400
committerAnton Khirnov <anton@khirnov.net>2013-11-16 20:51:10 +0400
commit1c01b0253ebfe05f907c3a723101fe77f6dd2336 (patch)
tree38a394d0057766a4dae7d613792b25e901733eb2 /libavcodec/mpegvideo.h
parenta6064b12b481072abe0df53e5996cf103994526f (diff)
mpegvideo_enc: use the AVFrame API properly.
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h3
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) \