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
b37dfe18
Commit
b37dfe18
authored
Jun 21, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegaudio_parser: be less picky on the start position
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2d16394f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mpegaudio_parser.c
libavcodec/mpegaudio_parser.c
+2
-1
No files found.
libavcodec/mpegaudio_parser.c
View file @
b37dfe18
...
...
@@ -66,7 +66,8 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
ret
=
ff_mpa_decode_header
(
avctx
,
state
,
&
sr
,
&
channels
,
&
frame_size
,
&
bit_rate
);
if
(
ret
<
4
)
{
s
->
header_count
=
-
2
;
if
(
i
>
4
)
s
->
header_count
=
-
2
;
}
else
{
if
((
state
&
SAME_HEADER_MASK
)
!=
(
s
->
header
&
SAME_HEADER_MASK
)
&&
s
->
header
)
s
->
header_count
=
-
3
;
...
...
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