mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-22 03:46:46 +00:00
Merge commit '2cd28693a59050717cb7da6cb229e606b1dee356'
* commit '2cd28693a59050717cb7da6cb229e606b1dee356': jack: Use av_strerror Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
66b2a3fa31
@ -287,8 +287,11 @@ static int audio_read_packet(AVFormatContext *context, AVPacket *pkt)
|
||||
av_log(context, AV_LOG_ERROR,
|
||||
"Input error: timed out when waiting for JACK process callback output\n");
|
||||
} else {
|
||||
char errbuf[128];
|
||||
int ret = AVERROR(errno);
|
||||
av_strerror(ret, errbuf, sizeof(errbuf));
|
||||
av_log(context, AV_LOG_ERROR, "Error while waiting for audio packet: %s\n",
|
||||
strerror(errno));
|
||||
errbuf);
|
||||
}
|
||||
if (!self->client)
|
||||
av_log(context, AV_LOG_ERROR, "Input error: JACK server is gone\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user