Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
cfac9ec7
Commit
cfac9ec7
authored
Oct 24, 2007
by
Benoit Fouet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: indentation.
Originally committed as revision 10853 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
89a0d790
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
movenc.c
libavformat/movenc.c
+18
-18
No files found.
libavformat/movenc.c
View file @
cfac9ec7
...
@@ -1236,30 +1236,30 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
...
@@ -1236,30 +1236,30 @@ static int mov_write_udta_tag(ByteIOContext *pb, MOVContext* mov,
s
->
comment
[
0
]
||
s
->
genre
[
0
]
||
s
->
track
||
s
->
comment
[
0
]
||
s
->
genre
[
0
]
||
s
->
track
||
(
mov
->
mode
==
MODE_MOV
&&
(
mov
->
mode
==
MODE_MOV
&&
((
mov
->
tracks
[
0
].
enc
&&
!
mov
->
tracks
[
0
].
enc
->
flags
&
CODEC_FLAG_BITEXACT
)
||
req
)))
{
((
mov
->
tracks
[
0
].
enc
&&
!
mov
->
tracks
[
0
].
enc
->
flags
&
CODEC_FLAG_BITEXACT
)
||
req
)))
{
offset_t
pos
=
url_ftell
(
pb
);
offset_t
pos
=
url_ftell
(
pb
);
put_be32
(
pb
,
0
);
/* size */
put_be32
(
pb
,
0
);
/* size */
put_tag
(
pb
,
"udta"
);
put_tag
(
pb
,
"udta"
);
/* iTunes meta data */
/* iTunes meta data */
mov_write_meta_tag
(
pb
,
mov
,
s
);
mov_write_meta_tag
(
pb
,
mov
,
s
);
if
(
mov
->
mode
==
MODE_MOV
){
// the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
if
(
mov
->
mode
==
MODE_MOV
){
// the title field breaks gtkpod with mp4 and my suspicion is that stuff is not valid in mp4
/* Requirements */
/* Requirements */
if
(
req
)
if
(
req
)
mov_write_string_tag
(
pb
,
"
\251
req"
,
"QuickTime 6.0 or greater"
,
0
);
mov_write_string_tag
(
pb
,
"
\251
req"
,
"QuickTime 6.0 or greater"
,
0
);
mov_write_string_tag
(
pb
,
"
\251
nam"
,
s
->
title
,
0
);
mov_write_string_tag
(
pb
,
"
\251
nam"
,
s
->
title
,
0
);
mov_write_string_tag
(
pb
,
"
\251
aut"
,
s
->
author
,
0
);
mov_write_string_tag
(
pb
,
"
\251
aut"
,
s
->
author
,
0
);
mov_write_string_tag
(
pb
,
"
\251
alb"
,
s
->
album
,
0
);
mov_write_string_tag
(
pb
,
"
\251
alb"
,
s
->
album
,
0
);
mov_write_day_tag
(
pb
,
s
->
year
,
0
);
mov_write_day_tag
(
pb
,
s
->
year
,
0
);
if
(
mov
->
tracks
[
0
].
enc
&&
!
(
mov
->
tracks
[
0
].
enc
->
flags
&
CODEC_FLAG_BITEXACT
))
if
(
mov
->
tracks
[
0
].
enc
&&
!
(
mov
->
tracks
[
0
].
enc
->
flags
&
CODEC_FLAG_BITEXACT
))
mov_write_string_tag
(
pb
,
"
\251
enc"
,
LIBAVFORMAT_IDENT
,
0
);
mov_write_string_tag
(
pb
,
"
\251
enc"
,
LIBAVFORMAT_IDENT
,
0
);
mov_write_string_tag
(
pb
,
"
\251
des"
,
s
->
comment
,
0
);
mov_write_string_tag
(
pb
,
"
\251
des"
,
s
->
comment
,
0
);
mov_write_string_tag
(
pb
,
"
\251
gen"
,
s
->
genre
,
0
);
mov_write_string_tag
(
pb
,
"
\251
gen"
,
s
->
genre
,
0
);
}
}
return
updateSize
(
pb
,
pos
);
return
updateSize
(
pb
,
pos
);
}
}
return
0
;
return
0
;
...
...
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