[Libav-user] [FFmpeg-devel] goto statements and multi-threaded app

Ronald S. Bultje rsbultje at gmail.com
Wed Jun 3 00:31:01 CEST 2015


Hi,

On Tue, Jun 2, 2015 at 6:21 PM, Ratin <ratin3 at gmail.com> wrote:

> While searching for goto across whole ffmpeg codebase resulted in 3253
> instances (with goto statement) were found. How reliable is goto statements
> when it comes to multi-threaded apps? I was under the impression its pretty
> risky to use.


That's utter nonsense. Besides, most gotos are used for error handling
which is a widely accepted use of goto.

Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150602/1589ae9e/attachment.html>


More information about the Libav-user mailing list