diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-08-22 08:29:44 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-08-22 08:29:44 +0000 |
commit | 9ee2c20e49520489dd63fbd3eafbd5f9e71a5e59 (patch) | |
tree | 7db015a8f226ea630c255fd2c4af848f08815f53 /libavcodec/mpeg12.c | |
parent | c92454179d06b3d6f5650a853561482994cee885 (diff) | |
download | ffmpeg-9ee2c20e49520489dd63fbd3eafbd5f9e71a5e59.tar.gz |
repeat_pict was never returned
Originally committed as revision 2132 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index c9884d321b..287846f2d4 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1843,19 +1843,18 @@ static int mpeg_decode_slice(AVCodecContext *avctx, 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", |