[FFmpeg-devel] [PATCH 4/4] nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

Stefano Sabatini stefano.sabatini-lala at poste.it
Wed Mar 23 17:14:57 CET 2011


On date Wednesday 2011-03-23 22:41:17 +1100, Peter Ross encoded:
> ---
>  libavformat/nut.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/nut.c b/libavformat/nut.c
> index 1c5a139..c31f53a 100644
> --- a/libavformat/nut.c
> +++ b/libavformat/nut.c
> @@ -65,7 +65,9 @@ const AVCodecTag ff_nut_video_tags[] = {
>      { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B',  4 ) },
>      { CODEC_ID_RAWVIDEO, MKTAG('B', '4', 'B', 'Y') },
>      { CODEC_ID_RAWVIDEO, MKTAG('R', '4', 'B', 'Y') },
> +    { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 48 ) },
>      { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 48 ) },
> +    { CODEC_ID_RAWVIDEO, MKTAG(48 , 'B', 'G', 'R') },
>      { CODEC_ID_RAWVIDEO, MKTAG(48 , 'R', 'G', 'B') },
>      { CODEC_ID_RAWVIDEO, MKTAG('Y', '1',  0 , 16 ) },
>      { CODEC_ID_RAWVIDEO, MKTAG(16 ,  0 , '1', 'Y') },

LGTM, same considerations as for the previous patch.
-- 
FFmpeg = Formidable and Funny Mastering Philosophical Erotic Governor



More information about the ffmpeg-devel mailing list