changeset 6251:743c1ef20291 libavcodec

some const
author michael
date Fri, 01 Feb 2008 14:09:52 +0000
parents a56227a0b738
children 8f8017bdf4c8
files smacker.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/smacker.c	Fri Feb 01 14:08:35 2008 +0000
+++ b/smacker.c	Fri Feb 01 14:09:52 2008 +0000
@@ -344,7 +344,7 @@
     return v;
 }
 
-static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
 {
     SmackVContext * const smk = avctx->priv_data;
     uint8_t *out;
@@ -567,7 +567,7 @@
 /**
  * Decode Smacker audio data
  */
-static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
+static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
 {
     GetBitContext gb;
     HuffContext h[4];