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
a4855adc
Commit
a4855adc
authored
Jun 06, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbsubdec: Fix compilation of debug code.
parent
d2d67e42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
dvbsubdec.c
libavcodec/dvbsubdec.c
+5
-4
No files found.
libavcodec/dvbsubdec.c
View file @
a4855adc
...
...
@@ -35,6 +35,7 @@
#ifdef DEBUG
#undef fprintf
#undef perror
#if 0
static void png_save(const char *filename, uint8_t *bitmap, int w, int h,
uint32_t *rgba_palette)
...
...
@@ -49,7 +50,7 @@ static void png_save(const char *filename, uint8_t *bitmap, int w, int h,
f = fopen(fname, "w");
if (!f) {
perror(fname);
exit(1)
;
return
;
}
fprintf(f, "P6\n"
"%d %d\n"
...
...
@@ -71,7 +72,7 @@ static void png_save(const char *filename, uint8_t *bitmap, int w, int h,
f = fopen(fname2, "w");
if (!f) {
perror(fname2);
exit(1)
;
return
;
}
fprintf(f, "P5\n"
"%d %d\n"
...
...
@@ -105,7 +106,7 @@ static void png_save2(const char *filename, uint32_t *bitmap, int w, int h)
f
=
fopen
(
fname
,
"w"
);
if
(
!
f
)
{
perror
(
fname
);
exit
(
1
)
;
return
;
}
fprintf
(
f
,
"P6
\n
"
"%d %d
\n
"
...
...
@@ -127,7 +128,7 @@ static void png_save2(const char *filename, uint32_t *bitmap, int w, int h)
f
=
fopen
(
fname2
,
"w"
);
if
(
!
f
)
{
perror
(
fname2
);
exit
(
1
)
;
return
;
}
fprintf
(
f
,
"P5
\n
"
"%d %d
\n
"
...
...
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