From 934edecdb88626a679d1cfc16fc094dc87f7c589 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 9 May 2010 23:04:01 +0000 Subject: Make the codec tags for the yuvjXXX pixel formats the same as the corresponding ones for the yuvXXX pixel formats. Originally committed as revision 23073 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/raw.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavcodec/raw.c') diff --git a/libavcodec/raw.c b/libavcodec/raw.c index c8adf310d8..bd386c2023 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -36,6 +36,13 @@ const PixelFormatTag ff_raw_pixelFormatTags[] = { { PIX_FMT_YUV411P, MKTAG('Y', '4', '1', 'B') }, { PIX_FMT_YUV422P, MKTAG('Y', '4', '2', 'B') }, { PIX_FMT_YUV422P, MKTAG('P', '4', '2', '2') }, + /* yuvjXXX formats are deprecated hacks specific to libav*, + they are identical to yuvXXX */ + { PIX_FMT_YUVJ420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */ + { PIX_FMT_YUVJ420P, MKTAG('I', 'Y', 'U', 'V') }, + { PIX_FMT_YUVJ420P, MKTAG('Y', 'V', '1', '2') }, + { PIX_FMT_YUVJ422P, MKTAG('Y', '4', '2', 'B') }, + { PIX_FMT_YUVJ422P, MKTAG('P', '4', '2', '2') }, { PIX_FMT_GRAY8, MKTAG('Y', '8', '0', '0') }, { PIX_FMT_GRAY8, MKTAG(' ', ' ', 'Y', '8') }, -- cgit v1.2.3