[FFmpeg-devel] [PATCH 06/13] src_buffer: move buffer copy in a separate function.

Nicolas George nicolas.george at normalesup.org
Wed May 2 12:18:02 CEST 2012


Le primidi 11 floréal, an CCXX, Stefano Sabatini a écrit :
> Should be fine. My only concern is that the additional function call
> may affect performance. I suppose it is the job of the compiler to
> optimize it, I wonder if inlining the function may help with it.

I believe any half-decent compiler will inline on its own initiative a
static function that is called only once. Gcc does, at the very least.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120502/53d5508c/attachment.asc>


More information about the ffmpeg-devel mailing list