[FFmpeg-devel] [PATCH 1/2] mmst: print packet type with error status code message
Francesco Cosoleto
cosoleto
Sat Feb 12 11:17:20 CET 2011
Signed-off-by: Francesco Cosoleto <cosoleto at gmail.com>
---
libavformat/mmst.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/mmst.c b/libavformat/mmst.c
index 8464d3b..ad87bbf 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 {
--
1.7.1
More information about the ffmpeg-devel
mailing list