diff options
author | gerion.entrup@t-online.de <gerion.entrup@t-online.de> | 2014-07-30 04:19:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-30 04:19:58 +0200 |
commit | f2855eb4d7128e53c027bc38b0e9627138fed607 (patch) | |
tree | 17185d6063052763d77b1d60f0aeadd648700727 /libavformat | |
parent | a507623bad7e88a99464df04f776df3b67cc11e4 (diff) | |
download | ffmpeg-f2855eb4d7128e53c027bc38b0e9627138fed607.tar.gz |
avformat/movenc: add m4b to list of ipod playable files
m4b is the extension used by iDevices to detect audiobooks.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 4b9a4f1f46..d250b044b1 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -895,8 +895,10 @@ static int ipod_get_codec_tag(AVFormatContext *s, MOVTrack *track) tag == MKTAG('t', 'e', 'x', 't')))) tag = ff_codec_get_tag(codec_ipod_tags, track->enc->codec_id); - if (!av_match_ext(s->filename, "m4a") && !av_match_ext(s->filename, "m4v")) - av_log(s, AV_LOG_WARNING, "Warning, extension is not .m4a nor .m4v " + if (!av_match_ext(s->filename, "m4a") && + !av_match_ext(s->filename, "m4b") && + !av_match_ext(s->filename, "m4v")) + av_log(s, AV_LOG_WARNING, "Warning, extension is not .m4a, .m4v nor .m4b " "Quicktime/Ipod might not play the file\n"); return tag; |