[FFmpeg-cvslog] h264: reset prev_poc_msb to the same value everywhere.

Michael Niedermayer git at videolan.org
Sat Dec 10 23:39:05 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 10 23:03:49 2011 +0100| [874340096120a219cdc456baa2de56bfa243d331] | committer: Michael Niedermayer

h264: reset prev_poc_msb to the same value everywhere.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/h264.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index a9a5277..2d60470 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2373,7 +2373,7 @@ static void idr(H264Context *h){
     ff_h264_remove_all_refs(h);
     h->prev_frame_num= -1;
     h->prev_frame_num_offset= 0;
-    h->prev_poc_msb=
+    h->prev_poc_msb= 1<<16;
     h->prev_poc_lsb= 0;
     for (i = 0; i < MAX_DELAYED_PIC_COUNT; i++)
         h->last_pocs[i] = INT_MIN;



More information about the ffmpeg-cvslog mailing list