[FFmpeg-devel] [PATCH] kill warning in dnxhdenc.c
Måns Rullgård
mans
Sat May 3 16:14:41 CEST 2008
Baptiste Coudurier <baptiste.coudurier at smartjog.com> writes:
> Hi,
>
> Benjamin Larsson wrote:
>> $topic
>>
>> [...]
>>
>> -static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, const void *data)
>> +static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
>> {
>
> Well, it kills a warning, though I think data is const:
>
> int attribute_align_arg avcodec_encode_video(AVCodecContext *avctx,
> uint8_t *buf, int buf_size, const AVFrame *pict)
>
> Prototype in AVCodec should be changed IMHO.
Agree.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list