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

Stefano Sabatini stefano.sabatini-lala
Thu Nov 19 23:55:29 CET 2009


On date Thursday 2009-11-19 17:44:59 +0100, Michael Niedermayer encoded:
> 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

Applied.
-- 
FFmpeg = Fiendish & Foolish MultiPurpose Enhancing Gorilla



More information about the ffmpeg-devel mailing list