Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1cd9bbce
Commit
1cd9bbce
authored
Jul 04, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo.c : gcc != 3 compile fix
parent
4be7e66d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
modules/video_filter/logo.c
modules/video_filter/logo.c
+10
-6
No files found.
modules/video_filter/logo.c
View file @
1cd9bbce
...
...
@@ -2,7 +2,7 @@
* logo.c : logo video plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
* $Id: logo.c,v 1.
1 2003/07/03 19:25:51 garf
Exp $
* $Id: logo.c,v 1.
2 2003/07/04 19:00:43 titer
Exp $
*
* Authors: Simon Latapie <garf@videolan.org>
*
...
...
@@ -132,21 +132,25 @@ static int Init( vout_thread_t *p_vout )
int
i_index
;
picture_t
*
p_pic
;
char
*
filename
;
/* read png file */
filename
=
config_GetPsz
(
p_vout
,
"logo_file"
);
FILE
*
fp
=
fopen
(
filename
,
"rb"
);
png_structp
png_ptr
=
png_create_read_struct
(
PNG_LIBPNG_VER_STRING
,
NULL
,
NULL
,
NULL
);
png_infop
info_ptr
=
png_create_info_struct
(
png_ptr
);
FILE
*
fp
;
int
color_type
;
int
interlace_type
;
int
compression_type
;
int
filter_type
;
png_structp
png_ptr
;
png_bytep
*
row_pointers
;
png_infop
info_ptr
;
unsigned
int
i
;
unsigned
int
j
;
int
temp
;
int
i_size
;
/* read png file */
filename
=
config_GetPsz
(
p_vout
,
"logo_file"
);
fp
=
fopen
(
filename
,
"rb"
);
png_ptr
=
png_create_read_struct
(
PNG_LIBPNG_VER_STRING
,
NULL
,
NULL
,
NULL
);
info_ptr
=
png_create_info_struct
(
png_ptr
);
if
(
fp
==
NULL
)
{
p_vout
->
p_sys
->
error
=
1
;
...
...
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