diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-15 02:50:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-15 02:53:48 +0200 |
commit | 6c1ee1a11446abbe662fc89b9dff0f0a3d5fdd55 (patch) | |
tree | 7ac507c8e006c2164cbd9d271eb616a268524211 /libavcodec | |
parent | 595c63357cdc4e08a36971f2aae0fb1f019e7224 (diff) | |
download | ffmpeg-6c1ee1a11446abbe662fc89b9dff0f0a3d5fdd55.tar.gz |
avcodec/h261dec: Fix context initialization sequence
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h261dec.c | 3 |
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; |