Paul B Mahol <onemda <at> gmail.com> writes: > > +#define isRGB(x) \ > > + ( x == PIX_FMT_ARGB \ > > + || x == PIX_FMT_0RGB \ > There is better way to check if pix fmt is rgb. > No need to add 10 extra lines of code. Please enlighten me. Carl Eugen