Browse Source

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

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n2.0
Nicolas George Anton Khirnov 12 years ago
parent
commit
be40d6cc2b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/rawdec.c

+ 1
- 1
libavcodec/rawdec.c View File

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


Loading…
Cancel
Save