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

Michael Niedermayer michaelni at gmx.at
Tue Sep 10 12:56:54 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 <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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- 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/20130910/70a88da0/attachment.asc>


More information about the ffmpeg-devel mailing list