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

conrad subversion at mplayerhq.hu
Thu Jan 1 21:31:33 CET 2009


Author: conrad
Date: Thu Jan  1 21:31:33 2009
New Revision: 3912

Log:
Unused parameter

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

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	Thu Jan  1 21:31:30 2009	(r3911)
+++ dirac/libavcodec/dirac.c	Thu Jan  1 21:31:33 2009	(r3912)
@@ -896,7 +896,7 @@ void motion_comp_dc_block(DiracContext *
  * @param comp component
  * @return returns 0 on succes, otherwise -1
  */
-int dirac_motion_compensation(DiracContext *s, int16_t *coeffs, int comp)
+int dirac_motion_compensation(DiracContext *s, int comp)
 {
     int i, j;
     int x, y;

Modified: dirac/libavcodec/dirac.h
==============================================================================
--- dirac/libavcodec/dirac.h	Thu Jan  1 21:31:30 2009	(r3911)
+++ dirac/libavcodec/dirac.h	Thu Jan  1 21:31:33 2009	(r3912)
@@ -477,7 +477,7 @@ int block_dc_prediction(DiracContext *s,
     return sign * (total + (cnt >> 1)) / cnt;
 }
 
-int dirac_motion_compensation(DiracContext *s, int16_t *coeffs, int comp);
+int dirac_motion_compensation(DiracContext *s, int comp);
 
 int dirac_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
                        const uint8_t *buf, int buf_size);

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	Thu Jan  1 21:31:30 2009	(r3911)
+++ dirac/libavcodec/diracdec.c	Thu Jan  1 21:31:33 2009	(r3912)
@@ -730,7 +730,7 @@ static int dirac_decode_frame_internal(D
                   s->plane[comp].padded_width, s->wavelet_idx+2, s->wavelet_depth);
 
         if (s->refs) {
-            if (dirac_motion_compensation(s, s->spatial_idwt_buffer, comp)) {
+            if (dirac_motion_compensation(s, comp)) {
                 av_freep(&s->sbsplit);
                 av_freep(&s->blmotion);
 



More information about the FFmpeg-soc mailing list