[Libav-user] Some buffers are still owned by the caller on close
wolverin82 at mail.ru
Mon Nov 7 13:17:44 EET 2022
If a function
is called for a variable
>AVFormatContext * pFmtCtxInp = avformat_alloc_context()
then I get an error when releasing it
[video4linux2,v4l2 @ 0x14e17b0] Some buffers are still owned by the caller on close.
ioctl(VIDIOC_QBUF): Bad file descriptor
But if I read the package from the pointer pFmtCtxInp, there is no error.
How to release correctly?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user