---
 libavcodec/mpeg12.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 3511031..164d18d 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1813,12 +1813,11 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
             const int mb_size= 16>>s->avctx->lowres;
 
             ff_draw_horiz_band(s, mb_size*s->mb_y, mb_size);
+            MPV_report_decode_progress(s);
 
             s->mb_x = 0;
             s->mb_y++;
 
-            if (USE_FRAME_THREADING(s->avctx) && s->pict_type != FF_B_TYPE)
-                ff_report_decode_progress((AVFrame*)s->current_picture_ptr, s->mb_y-1);
 
             if(s->mb_y<<field_pic >= s->mb_height){
                 int left= s->gb.size_in_bits - get_bits_count(&s->gb);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to