Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
25def74f
Commit
25def74f
authored
Jul 15, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove nestead assignement.
parent
9d546a7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
modules/access_output/http.c
modules/access_output/http.c
+1
-1
modules/codec/png.c
modules/codec/png.c
+3
-5
No files found.
modules/access_output/http.c
View file @
25def74f
...
...
@@ -179,7 +179,7 @@ static int Open( vlc_object_t *p_this )
config_ChainParse
(
p_access
,
SOUT_CFG_PREFIX
,
ppsz_sout_options
,
p_access
->
p_cfg
);
/* p_access->psz_path = "hostname:port/filename" */
psz_bind_addr
=
psz_parser
=
strdup
(
p_access
->
psz_path
);
psz_bind_addr
=
strdup
(
p_access
->
psz_path
);
i_bind_port
=
0
;
...
...
modules/codec/png.c
View file @
25def74f
...
...
@@ -67,7 +67,6 @@ vlc_module_end ()
static
int
OpenDecoder
(
vlc_object_t
*
p_this
)
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
decoder_sys_t
*
p_sys
;
if
(
p_dec
->
fmt_in
.
i_codec
!=
VLC_CODEC_PNG
&&
p_dec
->
fmt_in
.
i_codec
!=
VLC_FOURCC
(
'M'
,
'P'
,
'N'
,
'G'
)
)
...
...
@@ -76,8 +75,7 @@ static int OpenDecoder( vlc_object_t *p_this )
}
/* 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
=
malloc
(
sizeof
(
decoder_sys_t
))
)
==
NULL
)
return
VLC_ENOMEM
;
/* Set output properties */
...
...
@@ -150,7 +148,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
block_Release
(
p_block
);
*
pp_block
=
NULL
;
return
NULL
;
}
p_info
=
png_create_info_struct
(
p_png
);
if
(
p_info
==
NULL
)
{
...
...
@@ -166,7 +164,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
block_Release
(
p_block
);
*
pp_block
=
NULL
;
return
NULL
;
}
/* libpng longjmp's there in case of error */
if
(
setjmp
(
png_jmpbuf
(
p_png
)
)
)
goto
error
;
...
...
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