rtmp: Display a verbose message when an unknown packet type is received

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Samuel Pitoiset 2012-06-13 14:45:57 +02:00 committed by Martin Storsjö
parent 9cdf74f904
commit 9ff930aace

View File

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