diff options
author | Mats Peterson <matsp888@yahoo.com> | 2016-01-17 22:27:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-18 15:15:28 +0100 |
commit | 5da1477fa01b8f5eb9804435f26e76ba423624e9 (patch) | |
tree | 11fdef37cd4a5846cd1ea4bd55eb374b1070a47f /libavcodec/raw.c | |
parent | bb2f8bdeca93f1b9ccfac3677ade0989e97bc82a (diff) | |
download | ffmpeg-5da1477fa01b8f5eb9804435f26e76ba423624e9.tar.gz |
lavc/rawdec: Use AV_PIX_FMT_PAL8 for 1-bit raw QuickTime video
Match the use of AV_PIX_FMT_PAL8 for 1-bit QuickTime Animation in
lavc/qtrle. To reiterate, 1-bit video is not necessary black & white in
QuickTime, merely bi-level. The two colors can be any color. The palette,
either included in the sample description, or the default Macintosh
palette (black & white for 1-bit video) will be set in lavf/qtpalette.
See the QuickTime File Format Specification for details.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/raw.c')
-rw-r--r-- | libavcodec/raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/raw.c b/libavcodec/raw.c index cda70ac52d..3f2cc11c70 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -255,13 +255,13 @@ const PixelFormatTag avpriv_pix_fmt_bps_avi[] = { }; const PixelFormatTag avpriv_pix_fmt_bps_mov[] = { - { AV_PIX_FMT_MONOWHITE, 1 }, + { AV_PIX_FMT_PAL8, 1 }, { AV_PIX_FMT_PAL8, 2 }, { AV_PIX_FMT_PAL8, 4 }, { AV_PIX_FMT_PAL8, 8 }, { AV_PIX_FMT_RGB555BE, 16 }, { AV_PIX_FMT_RGB24, 24 }, { AV_PIX_FMT_ARGB, 32 }, - { AV_PIX_FMT_MONOWHITE,33 }, + { AV_PIX_FMT_PAL8, 33 }, { AV_PIX_FMT_NONE, 0 }, }; |