From d56c7830c0973dc4d2a068ba0b427ea6c1760dc2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 29 Nov 2016 11:18:54 +0100 Subject: [PATCH] avcodec/raw: add gray10 support in nut Signed-off-by: Paul B Mahol --- libavcodec/raw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/raw.c b/libavcodec/raw.c index 1e11345fde..7146e3a0f8 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -119,6 +119,8 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = { { AV_PIX_FMT_RGB48BE, MKTAG( 48, 'R', 'G', 'B') }, { AV_PIX_FMT_BGR48LE, MKTAG('B', 'G', 'R', 48 ) }, { AV_PIX_FMT_BGR48BE, MKTAG( 48, 'B', 'G', 'R') }, + { AV_PIX_FMT_GRAY10LE, MKTAG('Y', '1', 0 , 10 ) }, + { AV_PIX_FMT_GRAY10BE, MKTAG(10 , 0 , '1', 'Y') }, { AV_PIX_FMT_GRAY12LE, MKTAG('Y', '1', 0 , 12 ) }, { AV_PIX_FMT_GRAY12BE, MKTAG(12 , 0 , '1', 'Y') }, { AV_PIX_FMT_GRAY16LE, MKTAG('Y', '1', 0 , 16 ) },