mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libeplayer: assume unlimited PES length for too large packets
This commit is contained in:
@@ -93,6 +93,9 @@ int InsertPesHeader (unsigned char *data, int size, unsigned char stream_id, uns
|
||||
#if 0
|
||||
/* does not seem to hurt, at least with h264 data...? */
|
||||
if (size > MAX_PES_PACKET_SIZE)
|
||||
#ifdef MARTII
|
||||
size = 0; // unbounded
|
||||
#else
|
||||
printf("%s: Packet bigger than 63.9K eeeekkkkk\n",__FUNCTION__);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user