summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-09-01 17:01:53 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-21 13:51:53 +0200
commit609a2fa1faa82da2451191170ce1807c9a1ba8a8 (patch)
treec53777a1dc741f8fcce93d44c1ce599d616937a2 /libavcodec
parent9ecfbb3e57dc1d46986b9296bf582c8e82b303b6 (diff)
Remove some forgotten AVCodecContext.palctrl usage.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/options.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c
index 6469ea7e73..ef711bf394 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -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;