comparison kmvc.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 9ab7ba20202c
comparison
equal deleted inserted replaced
9552:4fd9ac9978e5 9553:4cab394c16ea
344 KmvcContext *const c = avctx->priv_data; 344 KmvcContext *const c = avctx->priv_data;
345 int i; 345 int i;
346 346
347 c->avctx = avctx; 347 c->avctx = avctx;
348 348
349 c->pic.data[0] = NULL;
350
351 if (avctx->width > 320 || avctx->height > 200) { 349 if (avctx->width > 320 || avctx->height > 200) {
352 av_log(avctx, AV_LOG_ERROR, "KMVC supports frames <= 320x200\n"); 350 av_log(avctx, AV_LOG_ERROR, "KMVC supports frames <= 320x200\n");
353 return -1; 351 return -1;
354 } 352 }
355 353