OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b5c1ef
)
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
Vittorio Giovara
<vittorio.giovara@gmail.com>
Thu, 13 Nov 2014 00:41:27 +0000
(
01:41
+0100)
CC: libav-stable@libav.org
Bug-Id: CID
1135738
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)