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
1e22f00d
Commit
1e22f00d
authored
Oct 22, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
printf -> dprintf
Originally committed as revision 6763 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8e57cae7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gifdec.c
libavcodec/gifdec.c
+6
-6
No files found.
libavcodec/gifdec.c
View file @
1e22f00d
...
...
@@ -236,7 +236,7 @@ static int gif_read_image(GifState *s)
has_local_palette
=
flags
&
0x80
;
bits_per_pixel
=
(
flags
&
0x07
)
+
1
;
#ifdef DEBUG
printf
(
"gif: image x=%d y=%d w=%d h=%d
\n
"
,
left
,
top
,
width
,
height
);
d
printf
(
"gif: image x=%d y=%d w=%d h=%d
\n
"
,
left
,
top
,
width
,
height
);
#endif
if
(
has_local_palette
)
{
...
...
@@ -329,7 +329,7 @@ static int gif_read_extension(GifState *s)
ext_code
=
bytestream_get_byte
(
&
s
->
bytestream
);
ext_len
=
bytestream_get_byte
(
&
s
->
bytestream
);
#ifdef DEBUG
printf
(
"gif: ext_code=0x%x len=%d
\n
"
,
ext_code
,
ext_len
);
d
printf
(
"gif: ext_code=0x%x len=%d
\n
"
,
ext_code
,
ext_len
);
#endif
switch
(
ext_code
)
{
case
0xf9
:
...
...
@@ -345,7 +345,7 @@ static int gif_read_extension(GifState *s)
s
->
transparent_color_index
=
-
1
;
s
->
gce_disposal
=
(
gce_flags
>>
2
)
&
0x7
;
#ifdef DEBUG
printf
(
"gif: gce_flags=%x delay=%d tcolor=%d disposal=%d
\n
"
,
d
printf
(
"gif: gce_flags=%x delay=%d tcolor=%d disposal=%d
\n
"
,
gce_flags
,
s
->
gce_delay
,
s
->
transparent_color_index
,
s
->
gce_disposal
);
#endif
...
...
@@ -360,7 +360,7 @@ static int gif_read_extension(GifState *s)
bytestream_get_byte
(
&
s
->
bytestream
);
ext_len
=
bytestream_get_byte
(
&
s
->
bytestream
);
#ifdef DEBUG
printf
(
"gif: ext_len1=%d
\n
"
,
ext_len
);
d
printf
(
"gif: ext_len1=%d
\n
"
,
ext_len
);
#endif
}
return
0
;
...
...
@@ -395,7 +395,7 @@ static int gif_read_header1(GifState *s)
s
->
background_color_index
=
bytestream_get_byte
(
&
s
->
bytestream
);
bytestream_get_byte
(
&
s
->
bytestream
);
/* ignored */
#ifdef DEBUG
printf
(
"gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d
\n
"
,
d
printf
(
"gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d
\n
"
,
s
->
screen_width
,
s
->
screen_height
,
s
->
bits_per_pixel
,
has_global_palette
);
#endif
...
...
@@ -413,7 +413,7 @@ static int gif_parse_next_image(GifState *s)
for
(;;)
{
code
=
bytestream_get_byte
(
&
s
->
bytestream
);
#ifdef DEBUG
printf
(
"gif: code=%02x '%c'
\n
"
,
code
,
code
);
d
printf
(
"gif: code=%02x '%c'
\n
"
,
code
,
code
);
#endif
switch
(
code
)
{
case
','
:
...
...
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