comparison tscc.c @ 3800:9b75ab171fa9 libavcodec

1l: correct argument order in avcodec_check_dimensions
author kostya
date Sun, 01 Oct 2006 05:09:20 +0000
parents 99cbff5f8038
children c8c591fe26f8
comparison
equal deleted inserted replaced
3799:81638b2fbeba 3800:9b75ab171fa9
262 avctx->has_b_frames = 0; 262 avctx->has_b_frames = 0;
263 263
264 c->pic.data[0] = NULL; 264 c->pic.data[0] = NULL;
265 c->height = avctx->height; 265 c->height = avctx->height;
266 266
267 if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { 267 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
268 return 1; 268 return 1;
269 } 269 }
270 270
271 #ifdef CONFIG_ZLIB 271 #ifdef CONFIG_ZLIB
272 // Needed if zlib unused or init aborted before inflateInit 272 // Needed if zlib unused or init aborted before inflateInit