Mercurial > libavcodec.hg
comparison rv10.c @ 643:3db611caee55 libavcodec
fixing segfault
author | michaelni |
---|---|
date | Tue, 03 Sep 2002 20:15:34 +0000 |
parents | 35353e4520d8 |
children | f87dc45d921d |
comparison
equal
deleted
inserted
replaced
642:4263629270c8 | 643:3db611caee55 |
---|---|
344 static int rv10_decode_init(AVCodecContext *avctx) | 344 static int rv10_decode_init(AVCodecContext *avctx) |
345 { | 345 { |
346 MpegEncContext *s = avctx->priv_data; | 346 MpegEncContext *s = avctx->priv_data; |
347 static int done; | 347 static int done; |
348 | 348 |
349 // s->avctx= avctx; | 349 s->avctx= avctx; |
350 s->out_format = FMT_H263; | 350 s->out_format = FMT_H263; |
351 | 351 |
352 s->width = avctx->width; | 352 s->width = avctx->width; |
353 s->height = avctx->height; | 353 s->height = avctx->height; |
354 | 354 |