Mercurial > libavcodec.hg
diff mpegvideo.h @ 9883:ffc0f9de5743 libavcodec
Fix H.264 picture reordering, 2nd try.
First, reverted one was r19239.
Patch by Haruhiko Yamagata, h D yamagata A nifty D com
author | cehoyos |
---|---|
date | Tue, 23 Jun 2009 21:03:35 +0000 |
parents | 5d0f71ba8648 |
children | f86df3ebfef7 |
line wrap: on
line diff
--- a/mpegvideo.h Tue Jun 23 18:17:15 2009 +0000 +++ b/mpegvideo.h Tue Jun 23 21:03:35 2009 +0000 @@ -116,6 +116,7 @@ int field_poc[2]; ///< h264 top/bottom POC int poc; ///< h264 frame POC int frame_num; ///< h264 frame_num (raw frame_num from slice header) + int mmco_reseted; ///< h264 MMCO_RESET set this 1. Reordering code must not mix pictures before and after MMCO_RESET. 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