[FFmpeg-devel] [PATCH 1/2] Add missing codec id <-> codec tag entries: CODEC_ID_RAWVIDEO <-> Y41B CODEC_ID_RAWVIDEO <-> Y42B CODEC_ID_RAWVIDEO <-> P422 CODEC_ID_RAWVIDEO <-> YUV9 CODEC_ID_RAWVIDEO <-> YVU9

Stefano Sabatini stefano.sabatini-lala
Sun May 23 22:43:26 CEST 2010


These codec tag are listed in libavcodec/raw.c:ff_raw_pix_fmt_tags as
AVI tags.
---
 libavformat/riff.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/libavformat/riff.c b/libavformat/riff.c
index e502f81..25f0644 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -171,6 +171,11 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', '4', '1', '1') },
     { CODEC_ID_RAWVIDEO,     MKTAG('N', 'V', '1', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('N', 'V', '2', '1') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('Y', '4', '1', 'B') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('Y', '4', '2', 'B') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('P', '4', '2', '2') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'U', 'V', '9') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', 'U', '9') },
     { CODEC_ID_FRWU,         MKTAG('F', 'R', 'W', 'U') },
     { CODEC_ID_R210,         MKTAG('r', '2', '1', '0') },
     { CODEC_ID_V210,         MKTAG('v', '2', '1', '0') },
-- 
1.7.1




More information about the ffmpeg-devel mailing list