comparison nellymoserenc.c @ 12262:dde20597f15e libavcodec

Use "const" qualifier for pointers that point to input data of audio encoders. This is purely for clarity/documentation purposes.
author reimar
date Sat, 24 Jul 2010 13:59:49 +0000
parents fdafbcef52f5
children d6ee9556010d
comparison
equal deleted inserted replaced
12261:940736055764 12262:dde20597f15e
349 } 349 }
350 350
351 static int encode_frame(AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data) 351 static int encode_frame(AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data)
352 { 352 {
353 NellyMoserEncodeContext *s = avctx->priv_data; 353 NellyMoserEncodeContext *s = avctx->priv_data;
354 int16_t *samples = data; 354 const int16_t *samples = data;
355 int i; 355 int i;
356 356
357 if (s->last_frame) 357 if (s->last_frame)
358 return 0; 358 return 0;
359 359