[FFmpeg-devel] [PATCH 07/13] Make the codec tags for the yuvjXXX pixel formats the same as the corresponding ones for the yuvXXX pixel formats.

Michael Niedermayer michaelni
Sun May 9 23:03:38 CEST 2010


On Sun, May 09, 2010 at 03:28:09PM +0200, Stefano Sabatini wrote:
> ---
>  libavcodec/raw.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/libavcodec/raw.c b/libavcodec/raw.c
> index 801b48c..ef38d14 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  */

should be ok (that is unless fourccorg lists some different fourccs for jpeg
yuv, that is unless avi by sheer luck supports the same hack as we do, but i
think it doesnt)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100509/a3a84ef8/attachment.pgp>



More information about the ffmpeg-devel mailing list