diff mpegvideo.h @ 1552:26c6ecba99a1 libavcodec

dynamic alloc of picture structs instead of putting them in MpegEncContext
author michael
date Tue, 21 Oct 2003 19:55:31 +0000
parents dd544554ed42
children 541681146f83
line wrap: on
line diff
--- a/mpegvideo.h	Tue Oct 21 01:00:31 2003 +0000
+++ b/mpegvideo.h	Tue Oct 21 19:55:31 2003 +0000
@@ -301,7 +301,7 @@
     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