[vlc-devel] [vlc-commits] avcodec: avoid unneeded memcpy in EncodeVideo/Audio

Laurent Aimar fenrir at elivagar.org
Mon Feb 13 16:29:26 CET 2012


On Mon, Feb 13, 2012 at 02:28:13PM +0100, Ilkka Ollakka wrote:
> vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Feb 13 15:26:54 2012 +0200| [38415e9206b58a252474bb93deabbfcba1ad8804] | committer: Ilkka Ollakka
> 
> avcodec: avoid unneeded memcpy in EncodeVideo/Audio

 You probably need to add a block_Realloc() call (I didn't see it), otherwise
way too much memory will be wasted (the same memory than the associated
raw audio/video).

Regards,

-- 
fenrir



More information about the vlc-devel mailing list