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
322af4be
Commit
322af4be
authored
Nov 19, 2006
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Identation
Originally committed as revision 7122 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c8f9f9b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
sierravmd.c
libavformat/sierravmd.c
+7
-7
No files found.
libavformat/sierravmd.c
View file @
322af4be
...
...
@@ -186,13 +186,13 @@ static int vmd_read_header(AVFormatContext *s,
case
1
:
/* Audio Chunk */
/* first audio chunk contains several audio buffers */
if
(
current_audio_pts
){
vmd
->
frame_table
[
total_frames
].
frame_offset
=
current_offset
;
vmd
->
frame_table
[
total_frames
].
stream_index
=
vmd
->
audio_stream_index
;
vmd
->
frame_table
[
total_frames
].
frame_size
=
size
;
memcpy
(
vmd
->
frame_table
[
total_frames
].
frame_record
,
chunk
,
BYTES_PER_FRAME_RECORD
);
vmd
->
frame_table
[
total_frames
].
pts
=
current_audio_pts
;
total_frames
++
;
current_audio_pts
+=
pts_inc
;
vmd
->
frame_table
[
total_frames
].
frame_offset
=
current_offset
;
vmd
->
frame_table
[
total_frames
].
stream_index
=
vmd
->
audio_stream_index
;
vmd
->
frame_table
[
total_frames
].
frame_size
=
size
;
memcpy
(
vmd
->
frame_table
[
total_frames
].
frame_record
,
chunk
,
BYTES_PER_FRAME_RECORD
);
vmd
->
frame_table
[
total_frames
].
pts
=
current_audio_pts
;
total_frames
++
;
current_audio_pts
+=
pts_inc
;
}
else
{
uint32_t
flags
;
int
k
;
...
...
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