On Mon, May 22, 2017 at 11:04 AM, Gabriele Greco <[email protected]> wrote: >> >> AVOnce control = AV_ONCE_INIT; >> >> ff_thread_once(&control, register_all); >> } >> >> Should it be a static or a global variable here? >> > > Considering that AVOnce is defined as 'char' it seems a bug to me too. >
You are correct, this should be a static variable. I'm sending a patch. - Hendrik _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
