On Tue, Mar 12, 2013 at 01:17:01PM +0100, Anton Khirnov wrote: > From: Nicolas George <[email protected]> > > Signed-off-by: Anton Khirnov <[email protected]> > --- > libavcodec/rawdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c > index 59a6dd6..0a76e4d 100644 > --- a/libavcodec/rawdec.c > +++ b/libavcodec/rawdec.c > @@ -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); > --
looks OK _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
