Fix is packet size, as reporte by Coverity

This commit is contained in:
cfsmp3 2014-07-14 14:12:12 +02:00
parent 00433467be
commit b8ff3414c0

View File

@ -1204,7 +1204,7 @@ void do_708 (const unsigned char *data, int datalength)
process_current_packet();
if (cc_valid)
{
if (current_packet_length>253)
if (current_packet_length>127)
{
dbg_print(CCX_DMT_708, "Warning: Legal packet size exceeded, data not added.\n");
}