FFMPEG error avformat_open_input

Sorry I have to ask this question, but I could not find a link to the avformat_open_input return codes, and I could not find anyone who asked / answered my question.

After this function call

err = avformat_open_input(&pFormatCtx, is->filename, NULL, NULL);

I get err = -13. What does this mean, and if someone answers, tell us also how you know which code corresponds to which error.

UPDATE: Well, I finally figured out how to turn the code into a message, and the message "Permission denied". Does anyone have an idea where the problem with this might be?

+4
source share
2 answers
  • . libavutil/error.h , errno. av_strerror .

  • "Permission denied" , , is->filename, - . strace , , .

+4

Android, , NETWORK, SDCARD -13.

0

Source: https://habr.com/ru/post/1525191/


All Articles