aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordi Ortiz <nenjordi@gmail.com>2012-07-03 18:20:02 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2012-07-16 13:45:15 +0200
commit08e087ccf7f7ef9b4e8c55b571bc779c0bc815b0 (patch)
tree69905848c6e080c1f4047406cd9ac51d491b19b6
parentf06dee779438d85da6fc1eeca310fd8a19d3b5b7 (diff)
downloadffmpeg-08e087ccf7f7ef9b4e8c55b571bc779c0bc815b0.tar.gz
rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-rw-r--r--libavformat/rtmpproto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index b48274bdd8..5342be8dc4 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -959,6 +959,10 @@ static int rtmp_parse_result(URLContext *s, RTMPContext *rt, RTMPPacket *pkt)
return ret;
}
break;
+ case RTMP_PT_VIDEO:
+ case RTMP_PT_AUDIO:
+ /* Audio and Video packets are parsed in get_packet() */
+ break;
default:
av_log(s, AV_LOG_VERBOSE, "Unknown packet type received 0x%02X\n", pkt->type);
break;