[FFmpeg-devel] [PATCH] lavu/buffer: add release function
lukasz.m.luki at gmail.com
Sun Mar 2 16:20:26 CET 2014
On 02.03.2014 16:16, Nicolas George wrote:
> Le decadi 10 ventôse, an CCXXII, Lukasz Marek a écrit :
>> This makes me still wondering about sense of
>> av_buffer_is_writable function. It may be unsafe when user don't
>> understand it deeply.
> If refcount == 1, you are owning the only reference. Therefore, nobody can
> create a new reference except your own code.
I forgot about that assumption that thread need to have ref to increase
ref. OK then.
Insanity: doing the same thing over and over again and expecting
different results. - Albert Einstein
More information about the ffmpeg-devel