Revision ade5b91d

View differences:

libavformat/movenc.c
647 647
         tag == MKTAG('t','e','x','t'))))
648 648
        tag = ff_codec_get_tag(codec_ipod_tags, track->enc->codec_id);
649 649

  
650
    if (!match_ext(s->filename, "m4a") && !match_ext(s->filename, "m4v"))
650
    if (!av_match_ext(s->filename, "m4a") && !av_match_ext(s->filename, "m4v"))
651 651
        av_log(s, AV_LOG_WARNING, "Warning, extension is not .m4a nor .m4v "
652 652
               "Quicktime/Ipod might not play the file\n");
653 653

  
libavformat/nsvdec.c
764 764
            return AVPROBE_SCORE_MAX-20;
765 765
    }
766 766
    /* so we'll have more luck on extension... */
767
    if (match_ext(p->filename, "nsv"))
767
    if (av_match_ext(p->filename, "nsv"))
768 768
        return AVPROBE_SCORE_MAX/2;
769 769
    /* FIXME: add mime-type check */
770 770
    return 0;

Also available in: Unified diff