[FFmpeg-devel] [PATCH 1/3] avutil/threadmessage: add av_thread_message_flush()

Clément Bœsch u at pkh.me
Wed Dec 2 17:25:29 CET 2015

On Wed, Dec 02, 2015 at 05:09:23PM +0100, Nicolas George wrote:
> Le duodi 12 frimaire, an CCXXIV, Clement Boesch a écrit :
> > What would be the difference? both av_fifo_generic_peek and
> > av_fifo_generic_peek_at require a copy of the element in a destination
> > buffer, unless I'm missing something.
> As I see it, av_fifo_generic_peek() does NOT require a copy if a callback is
> supplied.

Ah, indeed. av_fifo_generic_peek_at seems to have the same, I didn't
realize. Code is much simpler that way, thanks.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151202/648307cf/attachment.sig>

More information about the ffmpeg-devel mailing list