Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
940ac1f0
Commit
940ac1f0
authored
Jun 19, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead initialization.
parent
222cceba
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
10 deletions
+9
-10
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/a52tofloat32.c
+2
-2
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+1
-1
modules/codec/speex.c
modules/codec/speex.c
+3
-4
modules/codec/spudec/parse.c
modules/codec/spudec/parse.c
+1
-1
modules/codec/theora.c
modules/codec/theora.c
+2
-2
No files found.
modules/audio_filter/converter/a52tofloat32.c
View file @
940ac1f0
...
...
@@ -3,7 +3,7 @@
* This plugin makes use of liba52 to decode A/52 audio
* (http://liba52.sf.net/).
*****************************************************************************
* Copyright (C) 2001
, 2002
the VideoLAN team
* Copyright (C) 2001
-2009
the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
...
...
@@ -119,7 +119,7 @@ vlc_module_end ()
static
int
Create
(
vlc_object_t
*
p_this
)
{
aout_filter_t
*
p_filter
=
(
aout_filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
(
filter_sys_t
*
)
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
;
int
i_ret
;
if
(
p_filter
->
input
.
i_format
!=
VLC_CODEC_A52
...
...
modules/codec/avcodec/encoder.c
View file @
940ac1f0
...
...
@@ -200,7 +200,7 @@ static const uint16_t mpeg4_default_non_intra_matrix[64] = {
int
OpenEncoder
(
vlc_object_t
*
p_this
)
{
encoder_t
*
p_enc
=
(
encoder_t
*
)
p_this
;
encoder_sys_t
*
p_sys
=
p_enc
->
p_sys
;
encoder_sys_t
*
p_sys
;
AVCodecContext
*
p_context
;
AVCodec
*
p_codec
;
int
i_codec_id
,
i_cat
;
...
...
modules/codec/speex.c
View file @
940ac1f0
/*****************************************************************************
* speex.c: speex decoder/packetizer/encoder module making use of libspeex.
*****************************************************************************
* Copyright (C) 2003-200
8
the VideoLAN team
* Copyright (C) 2003-200
9
the VideoLAN team
* $Id$
*
* Authors: Gildas Bazin <gbazin@videolan.org>
...
...
@@ -203,14 +203,13 @@ static block_t *Encode ( encoder_t *, aout_buffer_t * );
static
int
OpenDecoder
(
vlc_object_t
*
p_this
)
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
decoder_sys_t
*
p_sys
;
if
(
p_dec
->
fmt_in
.
i_codec
!=
VLC_CODEC_SPEEX
)
return
VLC_EGENERIC
;
/* Allocate the memory needed to store the decoder's structure */
if
(
(
p_dec
->
p_sys
=
p_sys
=
(
decoder_sys_t
*
)
malloc
(
sizeof
(
decoder_sys_t
))
)
==
NULL
)
if
(
(
p_dec
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
decoder_sys_t
))
)
==
NULL
)
return
VLC_ENOMEM
;
p_dec
->
p_sys
->
bits
.
buf_size
=
0
;
p_dec
->
p_sys
->
b_packetizer
=
false
;
...
...
modules/codec/spudec/parse.c
View file @
940ac1f0
...
...
@@ -161,7 +161,7 @@ static int ParseControlSeq( decoder_t *p_dec, subpicture_t *p_spu,
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
/* Our current index in the SPU packet */
unsigned
int
i_index
=
p_sys
->
i_rle_size
+
4
;
unsigned
int
i_index
;
/* The next start-of-control-sequence index and the previous one */
unsigned
int
i_next_seq
=
0
,
i_cur_seq
=
0
;
...
...
modules/codec/theora.c
View file @
940ac1f0
...
...
@@ -602,7 +602,7 @@ struct encoder_sys_t
static
int
OpenEncoder
(
vlc_object_t
*
p_this
)
{
encoder_t
*
p_enc
=
(
encoder_t
*
)
p_this
;
encoder_sys_t
*
p_sys
=
p_enc
->
p_sys
;
encoder_sys_t
*
p_sys
;
ogg_packet
header
;
uint8_t
*
p_extra
;
vlc_value_t
val
;
...
...
@@ -615,7 +615,7 @@ static int OpenEncoder( vlc_object_t *p_this )
}
/* Allocate the memory needed to store the decoder's structure */
if
(
(
p_sys
=
(
encoder_sys_t
*
)
malloc
(
sizeof
(
encoder_sys_t
))
)
==
NULL
)
if
(
(
p_sys
=
malloc
(
sizeof
(
encoder_sys_t
))
)
==
NULL
)
return
VLC_ENOMEM
;
p_enc
->
p_sys
=
p_sys
;
...
...
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