# HG changeset patch # User kostya # Date 1242754678 0 # Node ID bc48593c663efd9a0de8f407fa6341b012f3a5e4 # Parent 9f1499cf3a689b25b9f70ea93df555560fc15487 Let SwScaler know that RGB48 BE/LE is 16-bits per component format. diff -r 9f1499cf3a68 -r bc48593c663e libswscale/swscale_internal.h --- a/libswscale/swscale_internal.h Tue May 19 17:26:22 2009 +0000 +++ b/libswscale/swscale_internal.h Tue May 19 17:37:58 2009 +0000 @@ -299,6 +299,8 @@ #define is16BPS(x) ( \ (x)==PIX_FMT_GRAY16BE \ || (x)==PIX_FMT_GRAY16LE \ + || (x)==PIX_FMT_RGB48BE \ + || (x)==PIX_FMT_RGB48LE \ || (x)==PIX_FMT_YUV420PLE \ || (x)==PIX_FMT_YUV422PLE \ || (x)==PIX_FMT_YUV444PLE \