diff options
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/idroqdec.c | 2 | ||||
-rw-r--r-- | libavformat/idroqenc.c | 2 | ||||
-rw-r--r-- | libavformat/iff.c | 2 | ||||
-rw-r--r-- | libavformat/iss.c | 2 | ||||
-rw-r--r-- | libavformat/mtv.c | 2 | ||||
-rw-r--r-- | libavformat/utils.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/idroqdec.c b/libavformat/idroqdec.c index 096ada2ba9..ab3ef96647 100644 --- a/libavformat/idroqdec.c +++ b/libavformat/idroqdec.c @@ -220,7 +220,7 @@ static int roq_read_packet(AVFormatContext *s, } AVInputFormat ff_roq_demuxer = { - .name = "RoQ", + .name = "roq", .long_name = NULL_IF_CONFIG_SMALL("id RoQ format"), .priv_data_size = sizeof(RoqDemuxContext), .read_probe = roq_probe, diff --git a/libavformat/idroqenc.c b/libavformat/idroqenc.c index b8305261fd..dba9c84c20 100644 --- a/libavformat/idroqenc.c +++ b/libavformat/idroqenc.c @@ -36,7 +36,7 @@ static int roq_write_header(struct AVFormatContext *s) } AVOutputFormat ff_roq_muxer = { - .name = "RoQ", + .name = "roq", .long_name = NULL_IF_CONFIG_SMALL("raw id RoQ format"), .extensions = "roq", .audio_codec = CODEC_ID_ROQ_DPCM, diff --git a/libavformat/iff.c b/libavformat/iff.c index 1890800cf2..2d74472507 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -384,7 +384,7 @@ static int iff_read_packet(AVFormatContext *s, } AVInputFormat ff_iff_demuxer = { - .name = "IFF", + .name = "iff", .long_name = NULL_IF_CONFIG_SMALL("Interchange File Format"), .priv_data_size = sizeof(IffDemuxContext), .read_probe = iff_probe, diff --git a/libavformat/iss.c b/libavformat/iss.c index af2fc6e4ac..f8ec119356 100644 --- a/libavformat/iss.c +++ b/libavformat/iss.c @@ -128,7 +128,7 @@ static int iss_read_packet(AVFormatContext *s, AVPacket *pkt) } AVInputFormat ff_iss_demuxer = { - .name = "ISS", + .name = "iss", .long_name = NULL_IF_CONFIG_SMALL("Funcom ISS format"), .priv_data_size = sizeof(IssDemuxContext), .read_probe = iss_probe, diff --git a/libavformat/mtv.c b/libavformat/mtv.c index 6558a230a2..30c8ed7911 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -194,7 +194,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt) } AVInputFormat ff_mtv_demuxer = { - .name = "MTV", + .name = "mtv", .long_name = NULL_IF_CONFIG_SMALL("MTV format"), .priv_data_size = sizeof(MTVDemuxContext), .read_probe = mtv_probe, diff --git a/libavformat/utils.c b/libavformat/utils.c index 2d3ec0fb92..8e4d6fcdb3 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -228,7 +228,7 @@ AVOutputFormat *av_guess_format(const char *short_name, const char *filename, score_max = 0; while ((fmt = av_oformat_next(fmt))) { score = 0; - if (fmt->name && short_name && !strcmp(fmt->name, short_name)) + if (fmt->name && short_name && !av_strcasecmp(fmt->name, short_name)) score += 100; if (fmt->mime_type && mime_type && !strcmp(fmt->mime_type, mime_type)) score += 10; |