Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f2855eb4
Commit
f2855eb4
authored
Jul 30, 2014
by
gerion.entrup@t-online.de
Committed by
Michael Niedermayer
Jul 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/movenc: add m4b to list of ipod playable files
m4b is the extension used by iDevices to detect audiobooks.
parent
a507623b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
movenc.c
libavformat/movenc.c
+4
-2
No files found.
libavformat/movenc.c
View file @
f2855eb4
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment