[FFmpeg-cvslog] avcodec/h261dec: Fix context initialization sequence
Michael Niedermayer
git at videolan.org
Fri Aug 15 03:10:14 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 15 02:50:41 2014 +0200| [6c1ee1a11446abbe662fc89b9dff0f0a3d5fdd55] | committer: Michael Niedermayer
avcodec/h261dec: Fix context initialization sequence
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6c1ee1a11446abbe662fc89b9dff0f0a3d5fdd55
---
libavcodec/h261dec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index dea554b..5bc685e 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;
More information about the ffmpeg-cvslog
mailing list