some const
Originally committed as revision 11766 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
317b3092cf
commit
3052e4b58b
@ -34,7 +34,7 @@ static int common_init(AVCodecContext *avctx){
|
|||||||
|
|
||||||
static int pnm_decode_frame(AVCodecContext *avctx,
|
static int pnm_decode_frame(AVCodecContext *avctx,
|
||||||
void *data, int *data_size,
|
void *data, int *data_size,
|
||||||
uint8_t *buf, int buf_size)
|
const uint8_t *buf, int buf_size)
|
||||||
{
|
{
|
||||||
PNMContext * const s = avctx->priv_data;
|
PNMContext * const s = avctx->priv_data;
|
||||||
AVFrame *picture = data;
|
AVFrame *picture = data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user