[Ffmpeg-devel] attribute_deprecated img_convert

Michael Niedermayer michaelni
Tue Mar 20 23:20:47 CET 2007


Hi

On Tue, Mar 20, 2007 at 11:55:36PM +0200, Vlad GURDIGA wrote:
> Hello,
> 
> In avcodec.h somewhere arround line 2570 the function img_convert() is
> declared as deprecated (this is what attribute_deprecated in front of
> it means, I guess). What should I use instead to get a MJPEG
> representation of a frame?

you should use sws_scale() instead of img_convert()

and of course neither is related to mjpeg

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070320/7d6a59a5/attachment.pgp>



More information about the ffmpeg-devel mailing list