[FFmpeg-devel] [PATCH 1/2] buffersink: Implement a poll function. With this the application can find out how many frames are available.

Michael Niedermayer michaelni at gmx.at
Thu Dec 8 02:35:26 CET 2011


On Tue, Dec 06, 2011 at 05:10:24PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libavfilter/buffersink.h  |    6 ++++++
>  libavfilter/sink_buffer.c |    8 ++++++++
>  2 files changed, 14 insertions(+), 0 deletions(-)

i will commit these patches tomorrow if there are no objections

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

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- 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/20111208/82190079/attachment.asc>


More information about the ffmpeg-devel mailing list