Browse Source

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>
tags/n1.0
Jordi Ortiz Kostya Shishkov 13 years ago
parent
commit
08e087ccf7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/rtmpproto.c

+ 4
- 0
libavformat/rtmpproto.c View File

@@ -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;


Loading…
Cancel
Save