[vlc-devel] commit: en50221: Increase max PDU size to 4 kB ( Marian Ďurkovič )

git version control git at videolan.org
Fri Sep 25 14:11:06 CEST 2009


vlc | branch: master | Marian Ďurkovič <md at bts.sk> | Fri Sep 25 14:10:45 2009 +0200| [250fd63e01b16a3fc62e3b658be62c34e84f7817] | committer: Marian Ďurkovič 

en50221: Increase max PDU size to 4 kB

Some CAMs return almost 3 kB of data for entitlements list

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=250fd63e01b16a3fc62e3b658be62c34e84f7817
---

 modules/access/dvb/en50221.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dvb/en50221.c b/modules/access/dvb/en50221.c
index e8604b1..b37c656 100644
--- a/modules/access/dvb/en50221.c
+++ b/modules/access/dvb/en50221.c
@@ -151,7 +151,7 @@ static uint8_t *SetLength( uint8_t *p_data, int i_length )
  * Transport layer
  */
 
-#define MAX_TPDU_SIZE  2048
+#define MAX_TPDU_SIZE  4096
 #define MAX_TPDU_DATA  (MAX_TPDU_SIZE - 4)
 
 #define DATA_INDICATOR 0x80




More information about the vlc-devel mailing list