[FFmpeg-devel] [PATCH] Fix linesize computation for NV formats

Michael Niedermayer michaelni
Thu Nov 19 17:44:59 CET 2009


On Thu, Nov 19, 2009 at 01:37:03AM +0100, Stefano Sabatini wrote:
[...]
> 
> Bonus patch attached.
> 
> Regards.
> -- 
> FFmpeg = Free Fiendish Magical Picky Elegant Gargoyle

>  imgconvert.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> c043cedb31125df864edc7399720870c9061e3bf  fix-nv-name.patch
> Index: ffmpeg/libavcodec/imgconvert.c
> ===================================================================
> --- ffmpeg.orig/libavcodec/imgconvert.c	2009-11-19 01:31:28.000000000 +0100
> +++ ffmpeg/libavcodec/imgconvert.c	2009-11-19 01:32:26.000000000 +0100
> @@ -486,7 +486,7 @@
>          .x_chroma_shift = 1, .y_chroma_shift = 1,
>      },
>      [PIX_FMT_NV21] = {
> -        .name = "nv12",
> +        .name = "nv21",

someone needs half a liter cola, patch ok

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

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- 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/20091119/be076f23/attachment.pgp>



More information about the ffmpeg-devel mailing list