Revision bca7db35

View differences:

libavformat/mov.c
603 603

  
604 604
        st->codec->codec_tag = format;
605 605
        id = codec_get_id(codec_movaudio_tags, format);
606
        if (id<=0 && (format&0xFFFF) == 'm' + ('s'<<8))
607
            id = codec_get_id(codec_wav_tags, bswap_32(format)&0xFFFF);
608

  
606 609
        if (st->codec->codec_type != CODEC_TYPE_VIDEO && id > 0) {
607 610
            st->codec->codec_type = CODEC_TYPE_AUDIO;
608 611
        } else if (st->codec->codec_type != CODEC_TYPE_AUDIO && /* do not overwrite codec type */

Also available in: Unified diff