[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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user