[FFmpeg-cvslog] r11710 - in trunk/libavcodec: mdec.c mpeg12.c

michael subversion
Fri Feb 1 04:34:44 CET 2008


Author: michael
Date: Fri Feb  1 04:34:43 2008
New Revision: 11710

Log:
const


Modified:
   trunk/libavcodec/mdec.c
   trunk/libavcodec/mpeg12.c

Modified: trunk/libavcodec/mdec.c
==============================================================================
--- trunk/libavcodec/mdec.c	(original)
+++ trunk/libavcodec/mdec.c	Fri Feb  1 04:34:43 2008
@@ -158,7 +158,7 @@ static inline void idct_put(MDECContext 
 
 static int decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     MDECContext * const a = avctx->priv_data;
     AVFrame *picture = data;

Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c	(original)
+++ trunk/libavcodec/mpeg12.c	Fri Feb  1 04:34:43 2008
@@ -2220,7 +2220,7 @@ int ff_mpeg1_find_frame_end(ParseContext
 /* handle buffering and image synchronisation */
 static int mpeg_decode_frame(AVCodecContext *avctx,
                              void *data, int *data_size,
-                             uint8_t *buf, int buf_size)
+                             const uint8_t *buf, int buf_size)
 {
     Mpeg1Context *s = avctx->priv_data;
     const uint8_t *buf_end;




More information about the ffmpeg-cvslog mailing list