OSDN Git Service

mmst: print packet type with error status code message
authorFrancesco Cosoleto <cosoleto@gmail.com>
Sat, 12 Feb 2011 10:17:20 +0000 (11:17 +0100)
committerRonald S. Bultje <rsbultje@gmail.com>
Sun, 13 Feb 2011 21:49:39 +0000 (16:49 -0500)
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/mmst.c

index 8464d3b..ad87bbf 100644 (file)
@@ -293,7 +293,7 @@ static MMSSCPacketType get_tcp_server_response(MMSTContext *mmst)
             hr = AV_RL32(mms->in_buffer + 40);
             if (hr) {
                 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;
             }
         } else {