Mercurial > libavcodec.hg
comparison smacker.c @ 9553:4cab394c16ea libavcodec
Remove useless assignment during initialization for some decoders
author | kostya |
---|---|
date | Fri, 24 Apr 2009 14:09:24 +0000 |
parents | 0dce4fe6e6f3 |
children | 08b84fcd478c |
comparison
equal
deleted
inserted
replaced
9552:4fd9ac9978e5 | 9553:4cab394c16ea |
---|---|
512 { | 512 { |
513 SmackVContext * const c = avctx->priv_data; | 513 SmackVContext * const c = avctx->priv_data; |
514 | 514 |
515 c->avctx = avctx; | 515 c->avctx = avctx; |
516 | 516 |
517 c->pic.data[0] = NULL; | |
518 | |
519 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { | 517 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { |
520 return 1; | 518 return 1; |
521 } | 519 } |
522 | 520 |
523 avctx->pix_fmt = PIX_FMT_PAL8; | 521 avctx->pix_fmt = PIX_FMT_PAL8; |