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
d1ebb25a
Commit
d1ebb25a
authored
Aug 01, 2012
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip chan tag padding.
Fixes ticket #1580
parent
296bcdd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mov_chan.c
libavformat/mov_chan.c
+2
-0
No files found.
libavformat/mov_chan.c
View file @
d1ebb25a
...
...
@@ -570,6 +570,7 @@ int ff_mov_read_chan(AVFormatContext *s, AVStream *st, int64_t size)
avio_rl32
(
pb
);
// mCoordinates[0]
avio_rl32
(
pb
);
// mCoordinates[1]
avio_rl32
(
pb
);
// mCoordinates[2]
size
-=
20
;
if
(
layout_tag
==
0
)
{
uint32_t
mask_incr
=
mov_get_channel_label
(
label
);
if
(
mask_incr
==
0
)
{
...
...
@@ -583,6 +584,7 @@ int ff_mov_read_chan(AVFormatContext *s, AVStream *st, int64_t size)
st
->
codec
->
channel_layout
=
label_mask
;
else
st
->
codec
->
channel_layout
=
ff_mov_get_channel_layout
(
layout_tag
,
bitmap
);
avio_skip
(
pb
,
size
-
12
);
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