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
c062aa8d
Commit
c062aa8d
authored
Aug 18, 2011
by
Sven Hesse
Committed by
Michael Niedermayer
Aug 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmv: Remove superfluous zeroing of already zero'd data
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
730333ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
xmv.c
libavformat/xmv.c
+2
-11
No files found.
libavformat/xmv.c
View file @
c062aa8d
...
...
@@ -226,17 +226,8 @@ static int xmv_read_header(AVFormatContext *s,
/* Initialize the packet context */
xmv
->
next_packet_offset
=
avio_tell
(
pb
);
xmv
->
next_packet_size
=
this_packet_size
-
xmv
->
next_packet_offset
;
xmv
->
this_packet_size
=
0
;
xmv
->
video
.
current_frame
=
0
;
xmv
->
video
.
frame_count
=
0
;
xmv
->
video
.
pts
=
0
;
xmv
->
video
.
last_pts
=
0
;
xmv
->
current_stream
=
0
;
xmv
->
stream_count
=
xmv
->
audio_track_count
+
1
;
xmv
->
next_packet_size
=
this_packet_size
-
xmv
->
next_packet_offset
;
xmv
->
stream_count
=
xmv
->
audio_track_count
+
1
;
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