Skip to content
Snippets Groups Projects
Commit 2594d75f authored by Francesco Cosoleto's avatar Francesco Cosoleto Committed by Michael Niedermayer
Browse files

mmst: print packet type with error status code message


Signed-off-by: default avatarFrancesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 70630e35)
parent e0099fda
No related branches found
No related tags found
No related merge requests found
...@@ -293,7 +293,7 @@ static MMSSCPacketType get_tcp_server_response(MMSTContext *mmst) ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment