aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mediacodecdec_common.c
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@gmail.com>2018-02-20 11:08:01 +0100
committerMatthieu Bouron <matthieu.bouron@gmail.com>2018-03-03 21:17:21 +0100
commitcc9875dc29383dd2c82dee3736e0cf53008a865e (patch)
treec9d36c3c41823b4b03fca7d017213738e0b4506a /libavcodec/mediacodecdec_common.c
parent5d69e249c81ec71630b4cb536907cc831fadef6b (diff)
downloadffmpeg-cc9875dc29383dd2c82dee3736e0cf53008a865e.tar.gz
avcodec/mediacodecdec_common: remove unused field from MediaCodecDecContext
Diffstat (limited to 'libavcodec/mediacodecdec_common.c')
-rw-r--r--libavcodec/mediacodecdec_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c
index 195cc70ba7..929db78361 100644
--- a/libavcodec/mediacodecdec_common.c
+++ b/libavcodec/mediacodecdec_common.c
@@ -386,7 +386,7 @@ static int mediacodec_dec_parse_format(AVCodecContext *avctx, MediaCodecDecConte
}
AMEDIAFORMAT_GET_INT32(s->color_format, "color-format", 1);
- s->pix_fmt = avctx->pix_fmt = mcdec_map_color_format(avctx, s, s->color_format);
+ avctx->pix_fmt = mcdec_map_color_format(avctx, s, s->color_format);
if (avctx->pix_fmt == AV_PIX_FMT_NONE) {
av_log(avctx, AV_LOG_ERROR, "Output color format is not supported\n");
ret = AVERROR(EINVAL);