git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be74cb5
)
avcodec/c93: stop using deprecated avcodec_set_dimensions
author
Paul B Mahol
<onemda@gmail.com>
Tue, 5 Nov 2013 12:24:39 +0000
(12:24 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Tue, 5 Nov 2013 12:24:39 +0000
(12:24 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/c93.c
patch
|
blob
|
history
diff --git
a/libavcodec/c93.c
b/libavcodec/c93.c
index
f25368b
..
9ac804e
100644
(file)
--- a/
libavcodec/c93.c
+++ b/
libavcodec/c93.c
@@
-127,7
+127,8
@@
static int decode_frame(AVCodecContext *avctx, void *data,
uint8_t *out;
int stride, ret, i, x, y, b, bt = 0;
- avcodec_set_dimensions(avctx, WIDTH, HEIGHT);
+ if ((ret = ff_set_dimensions(avctx, WIDTH, HEIGHT)) < 0)
+ return ret;
c93->currentpic ^= 1;