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
bcd872a7
Commit
bcd872a7
authored
Oct 22, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed useless variables
Originally committed as revision 6766 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d54d396d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
gifdec.c
libavcodec/gifdec.c
+0
-7
No files found.
libavcodec/gifdec.c
View file @
bcd872a7
...
...
@@ -41,9 +41,7 @@ typedef struct GifState {
int
background_color_index
;
int
transparent_color_index
;
int
color_resolution
;
int
image_linesize
;
uint32_t
*
image_palette
;
int
pix_fmt
;
/* after the frame is displayed, the disposal method is used */
int
gce_disposal
;
...
...
@@ -460,11 +458,6 @@ static int gif_decode_frame(AVCodecContext *avctx, void *data, int *data_size, u
if
(
gif_read_header1
(
s
)
<
0
)
return
-
1
;
/* allocate image buffer */
s
->
image_linesize
=
s
->
screen_width
*
3
;
s
->
pix_fmt
=
PIX_FMT_PAL8
;
/* now we are ready: build format streams */
avctx
->
pix_fmt
=
PIX_FMT_PAL8
;
if
(
avcodec_check_dimensions
(
avctx
,
s
->
screen_width
,
s
->
screen_height
))
return
-
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