[Ffmpeg-devel] [PATCH] enable libswscale

Luca Abeni lucabe72
Thu Aug 24 22:43:29 CEST 2006


Hi V?ctor,

On Wed, 2006-08-23 at 19:28 +0200, V?ctor Paesa wrote:
[...]
> Here is my attempt to convert vhook/null.c
I had a quick look at it, and it seems to be ok (modulo the checks on
sws_scale() return value).
Only one question: is it really possible that the image format or
dimensions dynamically change? (I see you added support for this
possibility).

> I don't understand well if sws_scale returns any specific value to signal
> errors, does it?
I think swscale does not return errors - and sws_scale() never fails (in
fact, I see that the return value of sws_scale() is never checked in
mplayer's code), but in the "swscale emulation" code I return a negative
value in case of error.


				Luca





More information about the ffmpeg-devel mailing list