Revision 7604246d libavcodec/rv10.c

View differences:

libavcodec/rv10.c
220 220
    return -code;
221 221
}
222 222

  
223
#ifdef CONFIG_ENCODERS
224

  
223 225
/* write RV 1.0 compatible frame header */
224 226
void rv10_encode_picture_header(MpegEncContext *s, int picture_number)
225 227
{
......
262 264
    }
263 265
}
264 266

  
267
#endif //CONFIG_ENCODERS
268

  
265 269
/* read RV 1.0 compatible frame header */
266 270
static int rv10_decode_picture_header(MpegEncContext *s)
267 271
{
......
330 334
static int rv10_decode_init(AVCodecContext *avctx)
331 335
{
332 336
    MpegEncContext *s = avctx->priv_data;
333
    static int done;
337
    static int done=0;
334 338

  
335 339
    s->avctx= avctx;
336 340
    s->out_format = FMT_H263;

Also available in: Unified diff