1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

avcodec/mediacodecdec_common: remove unused field from MediaCodecDecContext

This commit is contained in:
Matthieu Bouron 2018-02-20 11:08:01 +01:00
parent 5d69e249c8
commit cc9875dc29
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -55,7 +55,6 @@ typedef struct MediaCodecDecContext {
int stride;
int slice_height;
int color_format;
enum AVPixelFormat pix_fmt;
int crop_top;
int crop_bottom;
int crop_left;