aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mmvideo.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/mmvideo.c
parent0fbb0185b999169a265e5fac2145483dacd73e74 (diff)
downloadffmpeg-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/mmvideo.c')
-rw-r--r--libavcodec/mmvideo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c
index 6dc95589c6..596ca7aec4 100644
--- a/libavcodec/mmvideo.c
+++ b/libavcodec/mmvideo.c
@@ -58,9 +58,6 @@ static av_cold int mm_decode_init(AVCodecContext *avctx)
avctx->pix_fmt = PIX_FMT_PAL8;
- if (avcodec_check_dimensions(avctx, avctx->width, avctx->height))
- return -1;
-
s->frame.reference = 1;
if (avctx->get_buffer(avctx, &s->frame)) {
av_log(s->avctx, AV_LOG_ERROR, "mmvideo: get_buffer() failed\n");