summaryrefslogtreecommitdiff
path: root/libavcodec/v210x.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-13 20:13:28 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-13 20:13:28 +0000
commit4a49ab77c6bb2348992e1e70b14f2d1efaf7ddbb (patch)
tree2b41f67485760f7e8dc666bfea9924e8ba87eb6a /libavcodec/v210x.c
parent0fbb0185b999169a265e5fac2145483dacd73e74 (diff)
Remove unnecessary calls to avcodec_check_dimensions, the check is already
done at a higher level. Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/v210x.c')
-rw-r--r--libavcodec/v210x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index fe1b6de30a..549a157f41 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -27,8 +27,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "v210x needs even width\n");
return -1;
}
- if(avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0)
- return -1;
avctx->pix_fmt = PIX_FMT_YUV422P16;
avctx->bits_per_raw_sample= 10;