[FFmpeg-cvslog] libschroedingerdec: Remove write-only variable.

Diego Biurrun git at videolan.org
Sat Jul 9 02:09:49 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jul  7 01:30:59 2011 +0200| [8886d752636ab7b7fbe374061dbe24946ea95d18] | committer: Diego Biurrun

libschroedingerdec: Remove write-only variable.

libavcodec/libschroedingerdec.c:211:23: warning: variable 'format' set but not used

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8886d752636ab7b7fbe374061dbe24946ea95d18
---

 libavcodec/libschroedingerdec.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c
index ee29704..7e6846d 100644
--- a/libavcodec/libschroedingerdec.c
+++ b/libavcodec/libschroedingerdec.c
@@ -208,7 +208,6 @@ static int libschroedinger_decode_frame(AVCodecContext *avccontext,
 
     FfmpegSchroDecoderParams *p_schro_params = avccontext->priv_data;
     SchroDecoder *decoder = p_schro_params->decoder;
-    SchroVideoFormat *format;
     AVPicture *picture = data;
     SchroBuffer *enc_buf;
     SchroFrame* frame;
@@ -240,7 +239,6 @@ static int libschroedinger_decode_frame(AVCodecContext *avccontext,
             go = 1;
         } else
             outer = 0;
-        format = p_schro_params->format;
 
         while (go) {
             /* Parse data and process result. */



More information about the ffmpeg-cvslog mailing list