diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-21 19:55:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-21 19:55:31 +0000 |
commit | b465449eb7acaa06034bca4cc494440f7ea93ef6 (patch) | |
tree | 37522a63a9905c84b5f7167fd1c9751ae43bdff5 /libavcodec/mpegvideo.h | |
parent | 7f96ed5b16cd340dc5b0878f7d070636c4ed7ef2 (diff) | |
download | ffmpeg-b465449eb7acaa06034bca4cc494440f7ea93ef6.tar.gz |
dynamic alloc of picture structs instead of putting them in MpegEncContext
Originally committed as revision 2410 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 30432c1731..e557a81d1e 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -301,7 +301,7 @@ typedef struct MpegEncContext { int mb_num; ///< number of MBs of a picture int linesize; ///< line size, in bytes, may be different from width int uvlinesize; ///< line size, for chroma in bytes, may be different from width - Picture picture[MAX_PICTURE_COUNT]; ///< main picture buffer + Picture *picture; ///< main picture buffer Picture *input_picture[MAX_PICTURE_COUNT]; ///< next pictures on display order for encoding Picture *reordered_input_picture[MAX_PICTURE_COUNT]; ///< pointer to the next pictures in codedorder for encoding |