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:
39e07ac
)
avs: check ff_set_dimensions return value
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Wed, 12 Nov 2014 10:13:05 +0000
(11:13 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 12 Jan 2015 23:16:41 +0000
(
00:16
+0100)
CC: libav-stable@libav.org
Bug-Id: CID 1135738
(cherry picked from commit
c7384664ba0cbb12d882effafbc6d321ae706cff
)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/avs.c
patch
|
blob
|
history
diff --git
a/libavcodec/avs.c
b/libavcodec/avs.c
index
53e3320
..
eb2da66
100644
(file)
--- a/
libavcodec/avs.c
+++ b/
libavcodec/avs.c
@@
-165,9
+165,8
@@
static av_cold int avs_decode_init(AVCodecContext * avctx)
return AVERROR(ENOMEM);
avctx->pix_fmt = AV_PIX_FMT_PAL8;
- ff_set_dimensions(avctx, 318, 198);
- return
0
;
+ return
ff_set_dimensions(avctx, 318, 198)
;
}
static av_cold int avs_decode_end(AVCodecContext *avctx)