Christophe Gisquet <christophe.gisquet <at> gmail.com> writes:

> Otherwise, this shift would undo scaling performed 
> elsewhere or actually remove bits from the actual 
> value, which would be incorrect.

It would undo the shift done in the decoder because we 
(luckily!!) do not have PIX_FMT_RGB12 and PIX_FMT_GRAY12 
(and similar). I thought this was your goal, as said I 
am not claiming this patch is a good idea (it just 
fixes a regression).

Carl Eugen

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to