On Mon, May 22, 2017 at 11:04 AM, Gabriele Greco
wrote:
>>
>> AVOnce control = AV_ONCE_INIT;
>>
>> ff_thread_once(, register_all);
>> }
>>
>> Should it be a static or a global variable here?
>>
>
> Considering that AVOnce is defined as 'char' it seems a bug to
>
>
> AVOnce control = AV_ONCE_INIT;
>
> ff_thread_once(, 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.
--
*Bye,*
* Gabry*
___
Libav-user
Hi,
I tried to call av_register_all() multiple times, and it works well
for old lib version, but now it will cause the following call to
avformat_open_input() stuck forever.
After examining the code for libavformat, I found that there was
a code change about Mar, 2017 that changed