aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2012-07-26 21:10:09 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-07-31 14:52:25 +0200
commit9c9c21eaa1f0adf1c5cd17f9b31a18b979bffe37 (patch)
tree197e59e28d8380229d11e4af63caf20b5b2cda86
parent8728b381cbacbdff23ba9a85c2fcb78e4fd84966 (diff)
downloadffmpeg-9c9c21eaa1f0adf1c5cd17f9b31a18b979bffe37.tar.gz
rtmp: do not warn about receiving metadata packets
They are managed in get_packet() Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r--libavformat/rtmpproto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 501e0eddc7..4a35319c4d 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1114,7 +1114,8 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
break;
case RTMP_PT_VIDEO:
case RTMP_PT_AUDIO:
- /* Audio and Video packets are parsed in get_packet() */
+ case RTMP_PT_METADATA:
+ /* Audio, Video and Metadata packets are parsed in get_packet() */
break;
default:
av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type);