aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorFrancesco Cosoleto <cosoleto@gmail.com>2011-02-12 11:17:20 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-13 16:49:39 -0500
commit70630e35a436d890f3e3fbbe73b70042a375f326 (patch)
treee98dc07a1d48ab9184ad7aae24cc105b7972cdf2 /libavformat
parent3ad464bfc7df6d0f68c7df9c907089b84d92ab75 (diff)
downloadffmpeg-70630e35a436d890f3e3fbbe73b70042a375f326.tar.gz
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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mmst.c2
1 files changed, 1 insertions, 1 deletions
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 {