Mercurial > mplayer.hg
diff libdvdcss/css.c @ 35263:a893e72567ca
Updated libdvdcss to r255
Specifically, the changes are a memory leak fix (r239), assume a default drive type (r249) and support ELF visibility attribute (r255)
It has been pointed out in the mailing list that one or two of these changes may be unnecessary/redundant but harmless
This fixes #2096
author | SubJunk |
---|---|
date | Tue, 06 Nov 2012 05:47:13 +0000 |
parents | c42c4e88e6f5 |
children | e057379d9360 |
line wrap: on
line diff
--- a/libdvdcss/css.c Tue Nov 06 05:41:14 2012 +0000 +++ b/libdvdcss/css.c Tue Nov 06 05:47:13 2012 +0000 @@ -130,8 +130,8 @@ if( i_ret < 0 ) { - print_error( dvdcss, "css error: could not get RPC status, region-free drive?" ); - return; + print_error( dvdcss, "css error: could not get RPC status. Assuming RPC-I drive." ); + i_type = i_mask = i_rpc = 0; } switch( i_rpc ) @@ -1188,6 +1188,7 @@ memset( BigTable, 0 , 16777216 * sizeof(int) ); if( BigTable == NULL ) { + free( K1table ); return -1; }