Mercurial > libavcodec.hg
changeset 1409:62ea3b7d00f0 libavcodec
repeat_pict was never returned
author | bellard |
---|---|
date | Fri, 22 Aug 2003 08:29:44 +0000 |
parents | 4d67eb341a0c |
children | 524c904a66b8 |
files | mpeg12.c |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg12.c Wed Aug 20 07:57:00 2003 +0000 +++ b/mpeg12.c Fri Aug 22 08:29:44 2003 +0000 @@ -1843,19 +1843,18 @@ ff_er_frame_start(s); /* first check if we must repeat the frame */ - s->current_picture.repeat_pict = 0; - + s->current_picture_ptr->repeat_pict = 0; if (s->repeat_first_field) { if (s->progressive_sequence) { if (s->top_field_first) - s->current_picture.repeat_pict = 4; + s->current_picture_ptr->repeat_pict = 4; else - s->current_picture.repeat_pict = 2; + s->current_picture_ptr->repeat_pict = 2; } else if (s->progressive_frame) { - s->current_picture.repeat_pict = 1; + s->current_picture_ptr->repeat_pict = 1; } } -// printf("%d \n", s->current_picture.repeat_pict); + //printf("%d\n", s->current_picture_ptr->repeat_pict); if(s->avctx->debug&FF_DEBUG_PICT_INFO){ printf("qp:%d fc:%2d%2d%2d%2d %s %s %s %s dc:%d pstruct:%d fdct:%d cmv:%d qtype:%d ivlc:%d rff:%d %s\n",