[FFmpeg-soc] [soc]: r3774 - in dirac/libavcodec: dirac.h diracdec.c

conrad subversion at mplayerhq.hu
Mon Nov 10 04:11:17 CET 2008


Author: conrad
Date: Mon Nov 10 04:11:17 2008
New Revision: 3774

Log:
Fix prototype for dirac_decode_frame


Modified:
   dirac/libavcodec/dirac.h
   dirac/libavcodec/diracdec.c

Modified: dirac/libavcodec/dirac.h
==============================================================================
--- dirac/libavcodec/dirac.h	(original)
+++ dirac/libavcodec/dirac.h	Mon Nov 10 04:11:17 2008
@@ -600,7 +600,7 @@ int dirac_reference_frame_idx(DiracConte
 int dirac_motion_compensation(DiracContext *s, int16_t *coeffs, int comp);
 
 int dirac_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                       uint8_t *buf, int buf_size);
+                       const uint8_t *buf, int buf_size);
 
 void dirac_dump_source_parameters(AVCodecContext *avctx);
 

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	(original)
+++ dirac/libavcodec/diracdec.c	Mon Nov 10 04:11:17 2008
@@ -1033,7 +1033,7 @@ static int parse_frame(DiracContext *s)
 
 
 int dirac_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                        uint8_t *buf, int buf_size) {
+                        const uint8_t *buf, int buf_size) {
     DiracContext *s = avctx->priv_data;
     AVFrame *picture = data;
     int i;



More information about the FFmpeg-soc mailing list