diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2012-06-13 14:45:57 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-13 16:52:31 +0300 |
commit | 9ff930aace0d61a355f14e49f9fa1d95b8c0e5be (patch) | |
tree | d46e131a620ca5b6dde207d55b10f4cabcf58861 /libavformat/rtmpproto.c | |
parent | 9cdf74f904f76b2a1da474a2290c7e9ed34dd431 (diff) | |
download | ffmpeg-9ff930aace0d61a355f14e49f9fa1d95b8c0e5be.tar.gz |
rtmp: Display a verbose message when an unknown packet type is received
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 2b15d80846..945ad49faa 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -937,6 +937,9 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt) return ret; } break; + default: + av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type); + break; } return 0; } |