[FFmpeg-devel] [PATCH] Make avcodec_find_best_pix_fmt_of_list const-correct

Dylan Alex Simon dylan-ffmpeg at dylex.net
Wed Sep 11 12:58:35 CEST 2013


> On Mon, Sep 09, 2013 at 10:33:10PM -0600, Michael Bradshaw wrote:
> > Hi,
> >
> > Attached patch makes the avcodec_find_best_pix_fmt_of_list() function const
> > correct with the array of pixel formats it takes in.
> >
> > Thanks,
> >
> > Michael Bradshaw
>
> >  avcodec.h    |    2 +-
> >  imgconvert.c |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> > 90b2dd52f94a1755a150a5ee62b1e057a180cb98  0001-Make-avcodec_find_best_pix_fmt_of_list-const-correct.patch
> > From b8368979f1e78a28412886dedc909d2ad257e041 Mon Sep 17 00:00:00 2001
> > From: Michael Bradshaw <[11]mjbshaw at gmail.com>
> > Date: Mon, 9 Sep 2013 22:32:03 -0600
> > Subject: [PATCH] Make avcodec_find_best_pix_fmt_of_list const-correct
>
> applied
>
> thanks

You might also want to fix avcodec_find_best_pix_fmt2.  I sent in both a month
ago, but if there was something wrong with it let me know:

http://ffmpeg.org/pipermail/ffmpeg-devel/2013-August/147252.html


More information about the ffmpeg-devel mailing list