If a function
>avformat_find_stream_info(pFmtCtxInp, NULL)
 
is called for a variable
>AVFormatContext * pFmtCtxInp = avformat_alloc_context()
 
then I get an error when releasing it
>avformat_close_input(&pFmtCtxInp)
 
[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?
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to