libschroedingerdec: Remove write-only variable.

libavcodec/libschroedingerdec.c:211:23: warning: variable 'format' set but not used
This commit is contained in:
Diego Biurrun 2011-07-07 01:30:59 +02:00
parent f9853c1b9c
commit 8886d75263

View File

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