[FFmpeg-cvslog] avformat/mov: simplify code setting needs_parsing

Michael Niedermayer git at videolan.org
Thu Feb 27 16:48:51 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Feb 27 13:52:55 2014 +0100| [622d24e4ebde51dd1ef76c184d54cbceb42e9d22] | committer: Michael Niedermayer

avformat/mov: simplify code setting needs_parsing

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=622d24e4ebde51dd1ef76c184d54cbceb42e9d22
---

 libavformat/mov.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index b03d017..c14e3c1 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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;



More information about the ffmpeg-cvslog mailing list