From: Francesco Cosoleto Date: Sat, 12 Feb 2011 10:17:20 +0000 (+0100) Subject: mmst: print packet type with error status code message X-Git-Tag: android-x86-4.4-r1~18425 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2594d75fb20b97930c5e5e3337f7eb67d2de39c0;p=android-x86%2Fexternal-ffmpeg.git mmst: print packet type with error status code message Signed-off-by: Francesco Cosoleto Signed-off-by: Ronald S. Bultje (cherry picked from commit 70630e35a436d890f3e3fbbe73b70042a375f326) --- diff --git a/libavformat/mmst.c b/libavformat/mmst.c index 8464d3b3d1..ad87bbf250 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -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 {