Mercurial > libavcodec.hg
comparison zmbv.c @ 9553:4cab394c16ea libavcodec
Remove useless assignment during initialization for some decoders
author | kostya |
---|---|
date | Fri, 24 Apr 2009 14:09:24 +0000 |
parents | 54bc8a2727b0 |
children | e19113273403 |
comparison
equal
deleted
inserted
replaced
9552:4fd9ac9978e5 | 9553:4cab394c16ea |
---|---|
597 ZmbvContext * const c = avctx->priv_data; | 597 ZmbvContext * const c = avctx->priv_data; |
598 int zret; // Zlib return code | 598 int zret; // Zlib return code |
599 | 599 |
600 c->avctx = avctx; | 600 c->avctx = avctx; |
601 | 601 |
602 c->pic.data[0] = NULL; | |
603 c->width = avctx->width; | 602 c->width = avctx->width; |
604 c->height = avctx->height; | 603 c->height = avctx->height; |
605 | 604 |
606 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { | 605 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { |
607 return 1; | 606 return 1; |