projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723229c
)
vp8: fix return value if update_dimensions fails
author
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 14 Oct 2011 21:21:46 +0000
(23:21 +0200)
committer
Janne Grunau
<janne-libav@jannau.net>
Fri, 14 Oct 2011 22:13:21 +0000
(
00:13
+0200)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/vp8.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp8.c
b/libavcodec/vp8.c
index
a8b23f0
..
6268048
100644
(file)
--- a/
libavcodec/vp8.c
+++ b/
libavcodec/vp8.c
@@
-273,7
+273,7
@@
static int decode_frame_header(VP8Context *s, const uint8_t *buf, int buf_size)
if (!s->macroblocks_base || /* first frame */
width != s->avctx->width || height != s->avctx->height) {
- if ((ret = update_dimensions(s, width, height)
< 0)
)
+ if ((ret = update_dimensions(s, width, height)
) < 0
)
return ret;
}