diff wav.c @ 2023:a3e79d6e4e3c libavformat

add an enum for need_parsing
author aurel
date Sun, 15 Apr 2007 13:51:57 +0000
parents ce4617062f7b
children 7eb456c4ed8a
line wrap: on
line diff
--- a/wav.c	Sun Apr 15 12:35:44 2007 +0000
+++ b/wav.c	Sun Apr 15 13:51:57 2007 +0000
@@ -179,7 +179,7 @@
         return AVERROR_NOMEM;
 
     get_wav_header(pb, st->codec, size);
-    st->need_parsing = 1;
+    st->need_parsing = AVSTREAM_PARSE_FULL;
 
     av_set_pts_info(st, 64, 1, st->codec->sample_rate);