[SCM] libav/experimental: const

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:12:53 UTC 2013


The following commit has been merged in the experimental branch:
commit 1a2c94cb69ebd2c31383552e6b32891977675627
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Feb 1 03:59:06 2008 +0000

    const
    
    Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c
index a9e4cc2..b3849a4 100644
--- a/libavcodec/cavsdec.c
+++ b/libavcodec/cavsdec.c
@@ -614,7 +614,7 @@ static void cavs_flush(AVCodecContext * avctx) {
 }
 
 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
-                             uint8_t * buf, int buf_size) {
+                             const uint8_t * buf, int buf_size) {
     AVSContext *h = avctx->priv_data;
     MpegEncContext *s = &h->s;
     int input_size;
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c
index e028d5c..6b76411 100644
--- a/libavcodec/cljr.c
+++ b/libavcodec/cljr.c
@@ -37,7 +37,7 @@ typedef struct CLJRContext{
 
 static int decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     CLJRContext * const a = avctx->priv_data;
     AVFrame *picture = data;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list