On 06/09/2011 12:57 PM, Alex Converse wrote:
> ---
> ffmpeg.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/ffmpeg.c b/ffmpeg.c
> index 5099fc2..cbcdba8 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -573,7 +573,7 @@ static void update_sample_fmt(AVCodecContext *dec,
> AVCodec *dec_codec,
> if (dec_codec && dec_codec->sample_fmts &&
> dec_codec->sample_fmts[0] != AV_SAMPLE_FMT_NONE &&
> dec_codec->sample_fmts[1] != AV_SAMPLE_FMT_NONE) {
> - enum AVSampleFormat *p;
> + const enum AVSampleFormat *p;
> int min_dec = -1, min_inc = -1;
>
> /* find a matching sample format in the encoder */
ok.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel