diff mpeg.c @ 2023:a3e79d6e4e3c libavformat

add an enum for need_parsing
author aurel
date Sun, 15 Apr 2007 13:51:57 +0000
parents 1a3c9056982a
children f1e774bb675c
line wrap: on
line diff
--- a/mpeg.c	Sun Apr 15 12:35:44 2007 +0000
+++ b/mpeg.c	Sun Apr 15 13:51:57 2007 +0000
@@ -1690,7 +1690,7 @@
     st->codec->codec_type = type;
     st->codec->codec_id = codec_id;
     if (codec_id != CODEC_ID_PCM_S16BE)
-        st->need_parsing = 1;
+        st->need_parsing = AVSTREAM_PARSE_FULL;
  found:
     if(st->discard >= AVDISCARD_ALL)
         goto skip;