diff src/ffmpeg/libavcodec/utils.c @ 831:dec0488e1344 trunk

[svn] - remove more video codecs.
author nenolod
date Mon, 12 Mar 2007 15:28:22 -0700
parents a53d893eb303
children
line wrap: on
line diff
--- a/src/ffmpeg/libavcodec/utils.c	Mon Mar 12 15:23:10 2007 -0700
+++ b/src/ffmpeg/libavcodec/utils.c	Mon Mar 12 15:28:22 2007 -0700
@@ -113,8 +113,6 @@
     int ret;
 
     *got_picture_ptr= 0;
-    if((avctx->coded_width||avctx->coded_height) && avcodec_check_dimensions(avctx,avctx->coded_width,avctx->coded_height))
-        return -1;
     if((avctx->codec->capabilities & CODEC_CAP_DELAY) || buf_size){
         ret = avctx->codec->decode(avctx, picture, got_picture_ptr,
                                 buf, buf_size);