diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-21 02:19:45 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-21 02:19:45 +0000 |
commit | 078f42ddae70007d24c2bb3cac95f2ceb379314b (patch) | |
tree | 5d8094f3d700d98053df33d93c5ee9171d476228 /libavcodec/h264.c | |
parent | 2446d3d6844b1fddb8ed2008a8efc2273c687a89 (diff) | |
download | ffmpeg-078f42ddae70007d24c2bb3cac95f2ceb379314b.tar.gz |
Set poc for field references in MBAFF.
Originally committed as revision 15373 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d701f05f97..c99667875e 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2935,10 +2935,12 @@ static void fill_mbaff_ref_list(H264Context *h){ 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]; |