You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit '22e49e6edead9c83696f20127988f659b952ce65'
* commit '22e49e6edead9c83696f20127988f659b952ce65': dds: Simplify postprocessing check Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
@@ -702,11 +702,7 @@ static int dds_decode(AVCodecContext *avctx, void *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Run any post processing here if needed. */
|
/* Run any post processing here if needed. */
|
||||||
if (avctx->pix_fmt == AV_PIX_FMT_BGRA ||
|
if (ctx->postproc != DDS_NONE)
|
||||||
avctx->pix_fmt == AV_PIX_FMT_RGBA ||
|
|
||||||
avctx->pix_fmt == AV_PIX_FMT_RGB0 ||
|
|
||||||
avctx->pix_fmt == AV_PIX_FMT_BGR0 ||
|
|
||||||
avctx->pix_fmt == AV_PIX_FMT_YA8)
|
|
||||||
run_postproc(avctx, frame);
|
run_postproc(avctx, frame);
|
||||||
|
|
||||||
/* Frame is ready to be output. */
|
/* Frame is ready to be output. */
|
||||||
|
Reference in New Issue
Block a user