comparison x11grab.c @ 1760:8cba5672faa4 libavformat

Replace deprecated PIX_FMT names by the newer variants.
author diego
date Wed, 07 Feb 2007 01:48:09 +0000
parents d0a97c73ee97
children eb16c64144ee
comparison
equal deleted inserted replaced
1759:9eaf71a70ac1 1760:8cba5672faa4
219 } else { 219 } else {
220 av_log(s1, AV_LOG_ERROR,"image depth %i not supported ... aborting\n", image->bits_per_pixel); 220 av_log(s1, AV_LOG_ERROR,"image depth %i not supported ... aborting\n", image->bits_per_pixel);
221 return AVERROR_IO; 221 return AVERROR_IO;
222 } 222 }
223 #endif 223 #endif
224 input_pixfmt = PIX_FMT_RGBA32; 224 input_pixfmt = PIX_FMT_RGB32;
225 break; 225 break;
226 default: 226 default:
227 av_log(s1, AV_LOG_ERROR, "image depth %i not supported ... aborting\n", image->bits_per_pixel); 227 av_log(s1, AV_LOG_ERROR, "image depth %i not supported ... aborting\n", image->bits_per_pixel);
228 return -1; 228 return -1;
229 } 229 }