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

git version control git at videolan.org
Tue Sep 29 12:38:24 CEST 2009


vlc | branch: 1.0-bugfix | Marian Ďurkovič <md at bts.sk> | Fri Sep 25 14:10:45 2009 +0200| [3a50b7926d6e59ba95a3d545e2b4aa4a5002b344] | committer: Marian Ďurkovič 

en50221: Increase max PDU size to 4 kB

Some CAMs return almost 3 kB of data for entitlements list
(cherry picked from commit 250fd63e01b16a3fc62e3b658be62c34e84f7817)

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

 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 b2d8991..fbf2147 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