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
810cd0dd
Commit
810cd0dd
authored
Feb 07, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riff: chunks must be at 2 byte boundary
Fixes #2244. Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
0d194ee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
riff.c
libavformat/riff.c
+3
-1
No files found.
libavformat/riff.c
View file @
810cd0dd
...
@@ -428,9 +428,11 @@ void ff_end_tag(AVIOContext *pb, int64_t start)
...
@@ -428,9 +428,11 @@ void ff_end_tag(AVIOContext *pb, int64_t start)
int64_t
pos
;
int64_t
pos
;
pos
=
avio_tell
(
pb
);
pos
=
avio_tell
(
pb
);
if
(
pos
&
1
)
avio_w8
(
pb
,
0
);
avio_seek
(
pb
,
start
-
4
,
SEEK_SET
);
avio_seek
(
pb
,
start
-
4
,
SEEK_SET
);
avio_wl32
(
pb
,
(
uint32_t
)(
pos
-
start
));
avio_wl32
(
pb
,
(
uint32_t
)(
pos
-
start
));
avio_seek
(
pb
,
pos
,
SEEK_SET
);
avio_seek
(
pb
,
FFALIGN
(
pos
,
2
)
,
SEEK_SET
);
}
}
/* WAVEFORMATEX header */
/* WAVEFORMATEX header */
...
...
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