[FFmpeg-devel] [PATCH] kill warning in dnxhdenc.c
Baptiste Coudurier
baptiste.coudurier
Sat May 3 16:11:58 CEST 2008
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.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-devel
mailing list