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
d97f2144
Commit
d97f2144
authored
Jan 28, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation
Originally committed as revision 11651 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a23c9c4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
movenc.c
libavformat/movenc.c
+17
-17
No files found.
libavformat/movenc.c
View file @
d97f2144
...
@@ -511,24 +511,24 @@ static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)
...
@@ -511,24 +511,24 @@ static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)
}
}
}
else
{
}
else
{
if
(
track
->
enc
->
codec_type
==
CODEC_TYPE_VIDEO
)
{
if
(
track
->
enc
->
codec_type
==
CODEC_TYPE_VIDEO
)
{
tag
=
codec_get_tag
(
codec_movvideo_tags
,
track
->
enc
->
codec_id
);
tag
=
codec_get_tag
(
codec_movvideo_tags
,
track
->
enc
->
codec_id
);
// if no mac fcc found, try with Microsoft tags
// if no mac fcc found, try with Microsoft tags
if
(
!
tag
)
{
if
(
!
tag
)
{
tag
=
codec_get_tag
(
codec_bmp_tags
,
track
->
enc
->
codec_id
);
tag
=
codec_get_tag
(
codec_bmp_tags
,
track
->
enc
->
codec_id
);
if
(
tag
)
{
if
(
tag
)
{
av_log
(
s
,
AV_LOG_INFO
,
"Warning, using MS style video codec tag, the file may be unplayable!
\n
"
);
av_log
(
s
,
AV_LOG_INFO
,
"Warning, using MS style video codec tag, the file may be unplayable!
\n
"
);
}
}
}
}
}
else
if
(
track
->
enc
->
codec_type
==
CODEC_TYPE_AUDIO
)
{
}
else
if
(
track
->
enc
->
codec_type
==
CODEC_TYPE_AUDIO
)
{
tag
=
codec_get_tag
(
codec_movaudio_tags
,
track
->
enc
->
codec_id
);
tag
=
codec_get_tag
(
codec_movaudio_tags
,
track
->
enc
->
codec_id
);
// if no mac fcc found, try with Microsoft tags
// if no mac fcc found, try with Microsoft tags
if
(
!
tag
)
{
if
(
!
tag
)
{
int
ms_tag
=
codec_get_tag
(
codec_wav_tags
,
track
->
enc
->
codec_id
);
int
ms_tag
=
codec_get_tag
(
codec_wav_tags
,
track
->
enc
->
codec_id
);
if
(
ms_tag
)
{
if
(
ms_tag
)
{
tag
=
MKTAG
(
'm'
,
's'
,
((
ms_tag
>>
8
)
&
0xff
),
(
ms_tag
&
0xff
));
tag
=
MKTAG
(
'm'
,
's'
,
((
ms_tag
>>
8
)
&
0xff
),
(
ms_tag
&
0xff
));
av_log
(
s
,
AV_LOG_INFO
,
"Warning, using MS style audio codec tag, the file may be unplayable!
\n
"
);
av_log
(
s
,
AV_LOG_INFO
,
"Warning, using MS style audio codec tag, the file may be unplayable!
\n
"
);
}
}
}
}
}
}
}
}
}
}
...
...
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