comparison 8bps.c @ 2431:d67740c88f86 libavcodec

1l, forgot to remove duplicated error message
author rtognimp
date Sat, 15 Jan 2005 14:05:37 +0000
parents 4b350cc506a7
children f67b63ed036d
comparison
equal deleted inserted replaced
2430:805cbcf4dc8a 2431:d67740c88f86
159 avctx->has_b_frames = 0; 159 avctx->has_b_frames = 0;
160 160
161 c->pic.data[0] = NULL; 161 c->pic.data[0] = NULL;
162 162
163 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) { 163 if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
164 av_log(avctx, AV_LOG_ERROR, "Bad image size (w = %d, h = %d).\n", avctx->width, avctx->height);
165 return 1; 164 return 1;
166 } 165 }
167 166
168 switch (avctx->bits_per_sample) { 167 switch (avctx->bits_per_sample) {
169 case 8: 168 case 8: