comparison smacker.c @ 3800:9b75ab171fa9 libavcodec

1l: correct argument order in avcodec_check_dimensions
author kostya
date Sun, 01 Oct 2006 05:09:20 +0000
parents 8765ee4eaa45
children c8c591fe26f8
comparison
equal deleted inserted replaced
3799:81638b2fbeba 3800:9b75ab171fa9
518 c->avctx = avctx; 518 c->avctx = avctx;
519 avctx->has_b_frames = 0; 519 avctx->has_b_frames = 0;
520 520
521 c->pic.data[0] = NULL; 521 c->pic.data[0] = NULL;
522 522
523 if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { 523 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
524 return 1; 524 return 1;
525 } 525 }
526 526
527 avctx->pix_fmt = PIX_FMT_PAL8; 527 avctx->pix_fmt = PIX_FMT_PAL8;
528 528