mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-30 00:40:58 +02:00
libeplayer: assume unlimited PES length for too large packets
Origin commit data
------------------
Branch: master
Commit: c964a090dd
Author: martii <m4rtii@gmx.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -91,7 +91,11 @@ int InsertPesHeader (unsigned char *data, int size, unsigned char stream_id, uns
|
|||||||
BitPacker_t ld2 = {data, 0, 32};
|
BitPacker_t ld2 = {data, 0, 32};
|
||||||
|
|
||||||
if (size > MAX_PES_PACKET_SIZE)
|
if (size > MAX_PES_PACKET_SIZE)
|
||||||
|
#ifdef MARTII
|
||||||
|
size = 0; // unbounded
|
||||||
|
#else
|
||||||
printf("%s: Packet bigger than 63.9K eeeekkkkk\n",__FUNCTION__);
|
printf("%s: Packet bigger than 63.9K eeeekkkkk\n",__FUNCTION__);
|
||||||
|
#endif
|
||||||
|
|
||||||
PutBits(&ld2,0x0 ,8);
|
PutBits(&ld2,0x0 ,8);
|
||||||
PutBits(&ld2,0x0 ,8);
|
PutBits(&ld2,0x0 ,8);
|
||||||
|
Reference in New Issue
Block a user