summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-03-02 12:15:07 -0500
committerMichael Niedermayer <michaelni@gmx.at>2011-03-03 14:15:12 +0100
commitf28e599fbc853938b1cd0ef0aa7d01b9c06b7e9c (patch)
tree6d851ecf46487c0a0902202e2249054295cede57 /libavcodec
parent5cdef40a789822c7d859cd756e781b91893f2c0d (diff)
downloadffmpeg-streaming-f28e599fbc853938b1cd0ef0aa7d01b9c06b7e9c.zip
ffmpeg-streaming-f28e599fbc853938b1cd0ef0aa7d01b9c06b7e9c.tar.gz
vp3-mt: fix deadlock when first frame is not a keyframe.
(cherry picked from commit 8cf9a09d407c42299b3203bd1eb42af6109a0d7a)
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vp3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 3d4bfb4..97e5d64 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -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);
}
}
OpenPOWER on IntegriCloud