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
0a41f47d
Commit
0a41f47d
authored
Mar 05, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dv: Do not redundantly initialize struct members to zero.
parent
356ee8d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
dv.c
libavformat/dv.c
+1
-7
No files found.
libavformat/dv.c
View file @
0a41f47d
...
...
@@ -303,13 +303,7 @@ DVDemuxContext* avpriv_dv_init_demux(AVFormatContext *s)
return
NULL
;
}
c
->
sys
=
NULL
;
c
->
fctx
=
s
;
memset
(
c
->
ast
,
0
,
sizeof
(
c
->
ast
));
c
->
ach
=
0
;
c
->
frames
=
0
;
c
->
abytes
=
0
;
c
->
fctx
=
s
;
c
->
vst
->
codec
->
codec_type
=
AVMEDIA_TYPE_VIDEO
;
c
->
vst
->
codec
->
codec_id
=
CODEC_ID_DVVIDEO
;
c
->
vst
->
codec
->
bit_rate
=
25000000
;
...
...
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