remove vorbis dec hack, decoding will be done anyway to get frame size
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 29 Aug 2008 20:04:28 +0000 (20:04 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Fri, 29 Aug 2008 20:04:28 +0000 (20:04 +0000)
Originally committed as revision 15035 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index 1edae19..2cd73d7 100644 (file)
@@ -1354,11 +1354,6 @@ static int mov_read_trak(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
         st->codec->width= 0; /* let decoder init width/height */
         st->codec->height= 0;
         break;
-#ifdef CONFIG_VORBIS_DECODER
-    case CODEC_ID_VORBIS:
-#endif
-        st->codec->sample_rate= 0; /* let decoder init parameters properly */
-        break;
     }
 
     /* Do not need those anymore. */