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
609a2fa1
Commit
609a2fa1
authored
Sep 01, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some forgotten AVCodecContext.palctrl usage.
parent
9ecfbb3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
options.c
libavcodec/options.c
+0
-2
mov.c
libavformat/mov.c
+0
-2
No files found.
libavcodec/options.c
View file @
609a2fa1
...
...
@@ -536,7 +536,6 @@ void avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType codec_typ
s
->
pix_fmt
=
PIX_FMT_NONE
;
s
->
sample_fmt
=
AV_SAMPLE_FMT_NONE
;
s
->
palctrl
=
NULL
;
s
->
reget_buffer
=
avcodec_default_reget_buffer
;
s
->
reordered_opaque
=
AV_NOPTS_VALUE
;
}
...
...
@@ -615,7 +614,6 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
/* set values specific to opened codecs back to their default state */
dest
->
priv_data
=
NULL
;
dest
->
codec
=
NULL
;
dest
->
palctrl
=
NULL
;
dest
->
slice_offset
=
NULL
;
dest
->
internal_buffer
=
NULL
;
dest
->
hwaccel
=
NULL
;
...
...
libavformat/mov.c
View file @
609a2fa1
...
...
@@ -2591,8 +2591,6 @@ static int mov_read_close(AVFormatContext *s)
av_freep
(
&
sc
->
drefs
);
if
(
sc
->
pb
&&
sc
->
pb
!=
s
->
pb
)
avio_close
(
sc
->
pb
);
av_freep
(
&
st
->
codec
->
palctrl
);
}
if
(
mov
->
dv_demux
)
{
...
...
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