avformat/mov: simplify code setting needs_parsing
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Feb 2014 12:52:55 +0000 (13:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Feb 2014 12:52:55 +0000 (13:52 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c

index b03d017..c14e3c1 100644 (file)
@@ -1572,11 +1572,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
         }
         break;
     case AV_CODEC_ID_AC3:
-        st->need_parsing = AVSTREAM_PARSE_FULL;
-        break;
     case AV_CODEC_ID_MPEG1VIDEO:
-        st->need_parsing = AVSTREAM_PARSE_FULL;
-        break;
     case AV_CODEC_ID_VC1:
         st->need_parsing = AVSTREAM_PARSE_FULL;
         break;