mirror of https://git.ffmpeg.org/ffmpeg.git
mmst: print packet type with error status code message
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 70630e35a4
)
This commit is contained in:
parent
e0099fdaac
commit
2594d75fb2
|
@ -293,7 +293,7 @@ static MMSSCPacketType get_tcp_server_response(MMSTContext *mmst)
|
||||||
hr = AV_RL32(mms->in_buffer + 40);
|
hr = AV_RL32(mms->in_buffer + 40);
|
||||||
if (hr) {
|
if (hr) {
|
||||||
av_log(NULL, AV_LOG_ERROR,
|
av_log(NULL, AV_LOG_ERROR,
|
||||||
"Server sent an error status code: 0x%08x\n", hr);
|
"Server sent a message with packet type 0x%x and error status code 0x%08x\n", packet_type, hr);
|
||||||
return AVERROR_UNKNOWN;
|
return AVERROR_UNKNOWN;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue