]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
remove vorbis dec hack, decoding will be done anyway to get frame size
authorbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 29 Aug 2008 20:04:28 +0000 (20:04 +0000)
committerbcoudurier <bcoudurier@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 29 Aug 2008 20:04:28 +0000 (20:04 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15035 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/mov.c

index 1edae197037a4a364643a22628e27b23f2a41f19..2cd73d702ffd14ce4ea446d7e7d15b10acb9c3d6 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. */