comparison qdrw.c @ 3800:9b75ab171fa9 libavcodec

1l: correct argument order in avcodec_check_dimensions
author kostya
date Sun, 01 Oct 2006 05:09:20 +0000
parents 0b546eab515d
children c8c591fe26f8
comparison
equal deleted inserted replaced
3799:81638b2fbeba 3800:9b75ab171fa9
134 } 134 }
135 135
136 static int decode_init(AVCodecContext *avctx){ 136 static int decode_init(AVCodecContext *avctx){
137 // QdrawContext * const a = avctx->priv_data; 137 // QdrawContext * const a = avctx->priv_data;
138 138
139 if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { 139 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
140 return 1; 140 return 1;
141 } 141 }
142 142
143 avctx->pix_fmt= PIX_FMT_RGB24; 143 avctx->pix_fmt= PIX_FMT_RGB24;
144 144