]> git.sesse.net Git - ffmpeg/commitdiff
h264: increase ref_poc size to 32 as it can be per field.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Oct 2011 22:47:54 +0000 (00:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 1 Oct 2011 22:47:54 +0000 (00:47 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo.h

index 731bda3bab990aeadf76757d11b9ad2798f16edf..4a0822d467f93ebd7194dd457b06bdb28de7f6e7 100644 (file)
@@ -125,7 +125,7 @@ typedef struct Picture{
     int pic_id;                 /**< h264 pic_num (short -> no wrap version of pic_num,
                                      pic_num & max_pic_num; long -> long_pic_num) */
     int long_ref;               ///< 1->long term reference 0->short term reference
-    int ref_poc[2][2][16];      ///< h264 POCs of the frames used as reference (FIXME need per slice)
+    int ref_poc[2][2][32];      ///< h264 POCs of the frames/fields used as reference (FIXME need per slice)
     int ref_count[2][2];        ///< number of entries in ref_poc              (FIXME need per slice)
     int mbaff;                  ///< h264 1 -> MBAFF frame 0-> not MBAFF
     int field_picture;          ///< whether or not the picture was encoded in seperate fields