comparison tscc.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 d7ed9dcc78e3
comparison
equal deleted inserted replaced
9552:4fd9ac9978e5 9553:4cab394c16ea
137 CamtasiaContext * const c = avctx->priv_data; 137 CamtasiaContext * const c = avctx->priv_data;
138 int zret; // Zlib return code 138 int zret; // Zlib return code
139 139
140 c->avctx = avctx; 140 c->avctx = avctx;
141 141
142 c->pic.data[0] = NULL;
143 c->height = avctx->height; 142 c->height = avctx->height;
144 143
145 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { 144 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
146 return 1; 145 return 1;
147 } 146 }