Commit be40d6cc authored by Nicolas George's avatar Nicolas George Committed by Anton Khirnov

rawdec: fix a typo -- || instead of |

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 37cb3b18
......@@ -98,7 +98,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
return AVERROR(EINVAL);
}
if (desc->flags & (PIX_FMT_PAL || PIX_FMT_PSEUDOPAL)) {
if (desc->flags & (PIX_FMT_PAL | PIX_FMT_PSEUDOPAL)) {
context->palette = av_buffer_alloc(AVPALETTE_SIZE);
if (!context->palette)
return AVERROR(ENOMEM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment