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
344bcea4
Commit
344bcea4
authored
Feb 28, 2009
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: indentation
Originally committed as revision 17662 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d3a57949
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
flacdec.c
libavformat/flacdec.c
+8
-8
No files found.
libavformat/flacdec.c
View file @
344bcea4
...
...
@@ -36,14 +36,14 @@ static int flac_read_header(AVFormatContext *s,
st
->
need_parsing
=
AVSTREAM_PARSE_FULL
;
/* the parameters will be extracted from the compressed bitstream */
/* skip ID3v2 header if found */
ret
=
get_buffer
(
s
->
pb
,
buf
,
ID3v2_HEADER_SIZE
);
if
(
ret
==
ID3v2_HEADER_SIZE
&&
ff_id3v2_match
(
buf
))
{
int
len
=
ff_id3v2_tag_len
(
buf
);
url_fseek
(
s
->
pb
,
len
-
ID3v2_HEADER_SIZE
,
SEEK_CUR
);
}
else
{
url_fseek
(
s
->
pb
,
0
,
SEEK_SET
);
}
/* skip ID3v2 header if found */
ret
=
get_buffer
(
s
->
pb
,
buf
,
ID3v2_HEADER_SIZE
);
if
(
ret
==
ID3v2_HEADER_SIZE
&&
ff_id3v2_match
(
buf
))
{
int
len
=
ff_id3v2_tag_len
(
buf
);
url_fseek
(
s
->
pb
,
len
-
ID3v2_HEADER_SIZE
,
SEEK_CUR
);
}
else
{
url_fseek
(
s
->
pb
,
0
,
SEEK_SET
);
}
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