diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-06-04 23:30:58 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-06-04 23:30:58 +0000 |
commit | a7cc89e2f6efd46c42e0ecedba52d1c55332550d (patch) | |
tree | 4ce4ec0405371f78e44c6b88d6563f5bd26d5924 /libavformat | |
parent | e7ddafd515dc9826915b739d0b977a63c21e96af (diff) | |
download | ffmpeg-a7cc89e2f6efd46c42e0ecedba52d1c55332550d.tar.gz |
fix raw 555 pixel format, add abgr fourcc
Originally committed as revision 23479 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 2a2c42bdc4..3495eb0408 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -622,7 +622,7 @@ static const struct { } mov_pix_fmt_tags[] = { { PIX_FMT_YUYV422, MKTAG('y','u','v','s'), 0 }, { PIX_FMT_UYVY422, MKTAG('2','v','u','y'), 0 }, - { PIX_FMT_BGR555, MKTAG('r','a','w',' '), 16 }, + { PIX_FMT_RGB555BE,MKTAG('r','a','w',' '), 16 }, { PIX_FMT_RGB555LE,MKTAG('L','5','5','5'), 16 }, { PIX_FMT_RGB565LE,MKTAG('L','5','6','5'), 16 }, { PIX_FMT_RGB565BE,MKTAG('B','5','6','5'), 16 }, @@ -631,6 +631,7 @@ static const struct { { PIX_FMT_ARGB, MKTAG('r','a','w',' '), 32 }, { PIX_FMT_BGRA, MKTAG('B','G','R','A'), 32 }, { PIX_FMT_RGBA, MKTAG('R','G','B','A'), 32 }, + { PIX_FMT_ABGR, MKTAG('A','B','G','R'), 32 }, }; static int mov_get_rawvideo_codec_tag(AVFormatContext *s, MOVTrack *track) |