mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
Remove some forgotten AVCodecContext.palctrl usage.
This commit is contained in:
parent
9ecfbb3e57
commit
609a2fa1fa
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user