Revision ca402f32 libavformat/asfdec.c

View differences:

libavformat/asfdec.c
288 288

  
289 289
    st->codec->codec_type = type;
290 290
    if (type == AVMEDIA_TYPE_AUDIO) {
291
        ff_get_wav_header(pb, st->codec, type_specific_size);
291
        int ret = ff_get_wav_header(pb, st->codec, type_specific_size);
292
        if (ret < 0)
293
            return ret;
292 294
        if (is_dvr_ms_audio) {
293 295
            // codec_id and codec_tag are unreliable in dvr_ms
294 296
            // files. Set them later by probing stream.

Also available in: Unified diff