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:
6e094f7
)
avcodec/brender_pix: stop calling av_image_check_size() twice
author
Paul B Mahol
<onemda@gmail.com>
Tue, 5 Nov 2013 12:37:52 +0000
(12:37 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Tue, 5 Nov 2013 12:37:52 +0000
(12:37 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/brender_pix.c
patch
|
blob
|
history
diff --git
a/libavcodec/brender_pix.c
b/libavcodec/brender_pix.c
index
1089a38
..
23a46cc
100644
(file)
--- a/
libavcodec/brender_pix.c
+++ b/
libavcodec/brender_pix.c
@@
-128,9
+128,6
@@
static int brpix_decode_frame(AVCodecContext *avctx,
return AVERROR_PATCHWELCOME;
}
- if (av_image_check_size(hdr.width, hdr.height, 0, avctx) < 0)
- return AVERROR_INVALIDDATA;
-
if ((ret = ff_set_dimensions(avctx, hdr.width, hdr.height)) < 0)
return ret;