On macOS avformat_open_input sometimes returns the error code -48:
avformat_open_input(&ctx, "udp://...", NULL, NULL);
I cannot find this error code in the AVERROR code list. What does this error code mean?
Regards,
On macOS avformat_open_input sometimes returns the error code -48:
avformat_open_input(&ctx, "udp://...", NULL, NULL);
I cannot find this error code in the AVERROR code list. What does this error code mean?
Regards,
Copyright © 2021 Jogjafile Inc.
FFmpeg error codes are usually the standard C error codes negated. So error code 48 looks like
ELNRNG (Link number out of range). But something fishy, I never see FFmpeg returns this error before.Update:
av_strerror()function does the human-readable conversions, here:https://ffmpeg.org/doxygen/trunk/group__lavu__error.html#ga5792b4a2d18d7d9cb0efbcfc335dce24