On Wed, Dec 28, 2011 at 12:50:26AM -0500, Derek Buitenhuis wrote: > From: ami_stuff <[email protected]> > > --- > libavcodec/rawdec.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c > index dcbe23c..dfa5c37 100644 > --- a/libavcodec/rawdec.c > +++ b/libavcodec/rawdec.c > @@ -39,6 +39,8 @@ typedef struct RawVideoContext { > } RawVideoContext; > > static const PixelFormatTag pix_fmt_bps_avi[] = { > + { PIX_FMT_MONOWHITE, 1 }, > + { PIX_FMT_PAL8, 2 }, > { PIX_FMT_PAL8, 4 }, > { PIX_FMT_PAL8, 8 }, > { PIX_FMT_RGB444, 12 }, > --
Since AVI video is related to BMP I suspect that 1-bpp case might require PAL8 too. BMP stores palette for bpp < 15 after all. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
