[FFmpeg-devel] [PATCH] Fix compilation with libutvideo version 12.0.0

Michael Niedermayer michaelni at gmx.at
Sat Jan 12 23:15:01 CET 2013


On Sat, Jan 12, 2013 at 05:08:17PM -0500, Stephen Hutchinson wrote:
> Fix compilation with libutvideo version 12.0.0
> 
> ---
>  libavcodec/libutvideodec.cpp | 4 ++--
>  libavcodec/libutvideoenc.cpp | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/libavcodec/libutvideodec.cpp b/libavcodec/libutvideodec.cpp
> index f70ac4f..bc491e2 100644
> --- a/libavcodec/libutvideodec.cpp
> +++ b/libavcodec/libutvideodec.cpp
> @@ -61,11 +61,11 @@ static av_cold int
> utvideo_decode_init(AVCodecContext *avctx)
>          break;
>      case MKTAG('U', 'L', 'R', 'G'):
>          avctx->pix_fmt = AV_PIX_FMT_BGR24;
> -        format = UTVF_RGB24_WIN;
> +        format = UTVF_NFCC_BGR_BU;
>          break;
>      case MKTAG('U', 'L', 'R', 'A'):
>          avctx->pix_fmt = AV_PIX_FMT_RGB32;
> -        format = UTVF_RGB32_WIN;
> +        format = UTVF_NFCC_BGRA_BU;
>          break;

does this also work with older libutvideo ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130112/f814ab47/attachment.asc>


More information about the ffmpeg-devel mailing list