Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-15 04:50:41 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-08-15 04:53:48 +0400
commit6c1ee1a11446abbe662fc89b9dff0f0a3d5fdd55 (patch)
tree7ac507c8e006c2164cbd9d271eb616a268524211 /libavcodec/h261dec.c
parent595c63357cdc4e08a36971f2aae0fb1f019e7224 (diff)
avcodec/h261dec: Fix context initialization sequence
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index dea554b71c..5bc685e2c0 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -609,11 +609,10 @@ retry:
s->parse_context = pc;
}
- if (!s->context_initialized)
+ if (!s->context_initialized) {
if ((ret = ff_MPV_common_init(s)) < 0)
return ret;
- if (!s->context_initialized) {
ret = ff_set_dimensions(avctx, s->width, s->height);
if (ret < 0)
return ret;