diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-14 00:13:28 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-14 00:13:28 +0400 |
commit | 4a49ab77c6bb2348992e1e70b14f2d1efaf7ddbb (patch) | |
tree | 2b41f67485760f7e8dc666bfea9924e8ba87eb6a /libavcodec/smacker.c | |
parent | 0fbb0185b999169a265e5fac2145483dacd73e74 (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/smacker.c')
-rw-r--r-- | libavcodec/smacker.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 0d39027b0b..18eaebc6ad 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -514,10 +514,6 @@ static av_cold int decode_init(AVCodecContext *avctx) c->avctx = avctx; - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { - return 1; - } - avctx->pix_fmt = PIX_FMT_PAL8; |