[FFmpeg-cvslog] h264: increase ref_poc size to 32 as it can be per field.

Michael Niedermayer git at videolan.org
Sun Oct 2 05:59:52 CEST 2011


ffmpeg | branch: release/0.8 | Michael Niedermayer <michaelni at gmx.at> | Sun Oct  2 00:47:54 2011 +0200| [86491c5dbc160a10926aa1cf4fa36864b09dfb31] | committer: Michael Niedermayer

h264: increase ref_poc size to 32 as it can be per field.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 8c851ef5a81fb0429453c43fdcfc974ce1b6e447)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86491c5dbc160a10926aa1cf4fa36864b09dfb31
---

 libavcodec/mpegvideo.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 0b233d0..1b8483f 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -123,7 +123,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



More information about the ffmpeg-cvslog mailing list