[FFmpeg-devel] [PATCH] libavcodec/mmaldec.c: add interlaced_frame and format struct to AVFrame for deinterlacing
Moritz Barsnick
barsnick at gmx.net
Sat Jul 2 17:54:43 CEST 2016
On Sun, Jun 26, 2016 at 17:12:14 +0200, Jens Ziller wrote:
> + ctx->interlaced_frame = !(interlace_type.eMode == MMAL_InterlaceProgressive);
What's wrong with using the "!=" operator instead?
> if (avctx->pix_fmt == AV_PIX_FMT_MMAL) {
> if (!ctx->pool_out)
> + // in data[2] give the format struct for configure deinterlacer and renderer
> + frame->data[2] = ctx->decoder->output[0]->format;
Incorrect indentation.
Moritz
More information about the ffmpeg-devel
mailing list