Mercurial > libavcodec.hg
comparison fraps.c @ 9553:4cab394c16ea libavcodec
Remove useless assignment during initialization for some decoders
author | kostya |
---|---|
date | Fri, 24 Apr 2009 14:09:24 +0000 |
parents | 7f84bce8dd26 |
children | 8a4984c5cacc |
comparison
equal
deleted
inserted
replaced
9552:4fd9ac9978e5 | 9553:4cab394c16ea |
---|---|
61 | 61 |
62 avctx->coded_frame = (AVFrame*)&s->frame; | 62 avctx->coded_frame = (AVFrame*)&s->frame; |
63 avctx->pix_fmt= PIX_FMT_NONE; /* set in decode_frame */ | 63 avctx->pix_fmt= PIX_FMT_NONE; /* set in decode_frame */ |
64 | 64 |
65 s->avctx = avctx; | 65 s->avctx = avctx; |
66 s->frame.data[0] = NULL; | |
67 s->tmpbuf = NULL; | 66 s->tmpbuf = NULL; |
68 | 67 |
69 dsputil_init(&s->dsp, avctx); | 68 dsputil_init(&s->dsp, avctx); |
70 | 69 |
71 return 0; | 70 return 0; |