]> git.sesse.net Git - ffmpeg/commitdiff
vp3-mt: fix deadlock when first frame is not a keyframe.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 2 Mar 2011 17:15:07 +0000 (12:15 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Mar 2011 13:15:12 +0000 (14:15 +0100)
(cherry picked from commit 8cf9a09d407c42299b3203bd1eb42af6109a0d7a)

libavcodec/vp3.c

index 3d4bfb4d91e47228d9b22c5a6e689dd51dea6c66..97e5d64351f9e26c1abcdc63b81d070a395b7ee7 100644 (file)
@@ -1915,6 +1915,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
             }
             s->last_frame = s->golden_frame;
             s->last_frame.type = FF_BUFFER_TYPE_COPY;
+            ff_thread_report_progress(&s->last_frame, INT_MAX, 0);
         }
     }