diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-13 20:13:28 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-10-13 20:13:28 +0000 |
commit | 4a49ab77c6bb2348992e1e70b14f2d1efaf7ddbb (patch) | |
tree | 2b41f67485760f7e8dc666bfea9924e8ba87eb6a /libavcodec/flashsvenc.c | |
parent | 0fbb0185b999169a265e5fac2145483dacd73e74 (diff) | |
download | ffmpeg-4a49ab77c6bb2348992e1e70b14f2d1efaf7ddbb.tar.gz |
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/flashsvenc.c')
-rw-r--r-- | libavcodec/flashsvenc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c index 3512b02698..4d2b47979f 100644 --- a/libavcodec/flashsvenc.c +++ b/libavcodec/flashsvenc.c @@ -108,10 +108,6 @@ static av_cold int flashsv_encode_init(AVCodecContext *avctx) return -1; } - if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { - return -1; - } - // Needed if zlib unused or init aborted before deflateInit memset(&(s->zstream), 0, sizeof(z_stream)); |