]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/asfdec.c
wavdec: avoid output of arbitrary chars
[ffmpeg] / libavformat / asfdec.c
index 7f7bb4d5d4d2642da9a63ab3b3a5a78435e6a637..79a255f475dedacae48c9dc3d4134b82b0d2d8b6 100644 (file)
@@ -423,7 +423,7 @@ static int asf_read_stream_properties(AVFormatContext *s, int64_t size)
 
     st->codec->codec_type = type;
     if (type == AVMEDIA_TYPE_AUDIO) {
-        int ret = ff_get_wav_header(pb, st->codec, type_specific_size);
+        int ret = ff_get_wav_header(pb, st->codec, type_specific_size, 0);
         if (ret < 0)
             return ret;
         if (is_dvr_ms_audio) {