Am 23.02.2017 um 21:58 schrieb wm4:
>> +    virtual ULONG   STDMETHODCALLTYPE AddRef(void)
>> +    virtual ULONG   STDMETHODCALLTYPE Release(void)
>> +    {
>> +        int ret = avpriv_atomic_int_add_and_fetch(&_refs, -1);
>> +        if (!ret) {
>> +            av_frame_free(&_avframe);
> Wouldn't this normally be in a constructor? OK, probably doesn't matter.
> 

These method declarations are predefined by the DeckLink SDK interface.

Matthias
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to