[SCM] libav/experimental: remove wrong const qualifier

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


The following commit has been merged in the experimental branch:
commit 977f6a9049c59995a76ebd15cdd572b4d79c3b51
Author: Aurelien Jacobs <aurel at gnuage.org>
Date:   Wed Jul 25 19:34:31 2007 +0000

    remove wrong const qualifier
    
    Originally committed as revision 9795 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h
index 624363e..8c85e01 100644
--- a/libavcodec/vp56.h
+++ b/libavcodec/vp56.h
@@ -49,7 +49,7 @@ typedef int (*vp56_parse_header_t)(vp56_context_t *s, uint8_t *buf,
 typedef struct {
     int high;
     int bits;
-    const uint8_t *buffer;
+    uint8_t *buffer;
     unsigned long code_word;
 } vp56_range_coder_t;
 
@@ -165,7 +165,7 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
  */
 
 static inline void vp56_init_range_decoder(vp56_range_coder_t *c,
-                                           const uint8_t *buf, int buf_size)
+                                           uint8_t *buf, int buf_size)
 {
     c->high = 255;
     c->bits = 8;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list