[FFmpeg-cvslog] r15373 - trunk/libavcodec/h264.c

michael subversion
Sun Sep 21 04:19:45 CEST 2008


Author: michael
Date: Sun Sep 21 04:19:45 2008
New Revision: 15373

Log:
Set poc for field references in MBAFF.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Sun Sep 21 04:19:45 2008
@@ -2935,10 +2935,12 @@ static void fill_mbaff_ref_list(H264Cont
             for(j=0; j<3; j++)
                 field[0].linesize[j] <<= 1;
             field[0].reference = PICT_TOP_FIELD;
+            field[0].poc= field[0].field_poc[0];
             field[1] = field[0];
             for(j=0; j<3; j++)
                 field[1].data[j] += frame->linesize[j];
             field[1].reference = PICT_BOTTOM_FIELD;
+            field[1].poc= field[1].field_poc[1];
 
             h->luma_weight[list][16+2*i] = h->luma_weight[list][16+2*i+1] = h->luma_weight[list][i];
             h->luma_offset[list][16+2*i] = h->luma_offset[list][16+2*i+1] = h->luma_offset[list][i];




More information about the ffmpeg-cvslog mailing list