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
ec4e042f
Commit
ec4e042f
authored
Jul 07, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gif: remove unused AVFrame from encoder private context
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
bd03f99d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
gif.c
libavcodec/gif.c
+1
-3
No files found.
libavcodec/gif.c
View file @
ec4e042f
...
...
@@ -41,7 +41,6 @@
typedef
struct
{
const
AVClass
*
class
;
AVFrame
picture
;
LZWState
*
lzw
;
uint8_t
*
buf
;
AVFrame
*
last_frame
;
...
...
@@ -233,7 +232,7 @@ static int gif_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const
AVFrame
*
pict
,
int
*
got_packet
)
{
GIFContext
*
s
=
avctx
->
priv_data
;
AVFrame
*
const
p
=
&
s
->
picture
;
AVFrame
*
const
p
=
(
AVFrame
*
)
pict
;
uint8_t
*
outbuf_ptr
,
*
end
;
const
uint32_t
*
palette
=
NULL
;
int
ret
;
...
...
@@ -243,7 +242,6 @@ static int gif_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
outbuf_ptr
=
pkt
->
data
;
end
=
pkt
->
data
+
pkt
->
size
;
*
p
=
*
pict
;
p
->
pict_type
=
AV_PICTURE_TYPE_I
;
p
->
key_frame
=
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