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
9e0ddb5e
Commit
9e0ddb5e
authored
Feb 21, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/ac3_parser: recognize LE bitstream variant
parent
ebc8806b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ac3_parser.c
libavcodec/ac3_parser.c
+6
-0
No files found.
libavcodec/ac3_parser.c
View file @
9e0ddb5e
...
...
@@ -201,6 +201,12 @@ static int ac3_sync(uint64_t state, AACAC3ParseContext *hdr_info,
AC3HeaderInfo
hdr
;
GetBitContext
gbc
;
if
(
tmp
.
u8
[
1
]
==
0x77
&&
tmp
.
u8
[
2
]
==
0x0b
)
{
FFSWAP
(
uint8_t
,
tmp
.
u8
[
1
],
tmp
.
u8
[
2
]);
FFSWAP
(
uint8_t
,
tmp
.
u8
[
3
],
tmp
.
u8
[
4
]);
FFSWAP
(
uint8_t
,
tmp
.
u8
[
5
],
tmp
.
u8
[
6
]);
}
init_get_bits
(
&
gbc
,
tmp
.
u8
+
8
-
AC3_HEADER_SIZE
,
54
);
err
=
ff_ac3_parse_header
(
&
gbc
,
&
hdr
);
...
...
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