Mercurial > mplayer.hg
diff libmpdvdkit2/css.c @ 8123:9fc45fe0d444
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
author | arpi |
---|---|
date | Wed, 06 Nov 2002 23:54:29 +0000 |
parents | 596919e4f601 |
children | 0211de3039eb |
line wrap: on
line diff
--- a/libmpdvdkit2/css.c Wed Nov 06 23:51:17 2002 +0000 +++ b/libmpdvdkit2/css.c Wed Nov 06 23:54:29 2002 +0000 @@ -301,7 +301,7 @@ if(dvdcss->psz_cache){ int fd; key_file=malloc(strlen(dvdcss->psz_cache)+12+4); - sprintf(key_file,"%s/%0.10x",dvdcss->psz_cache,i_block); + sprintf(key_file,"%s/%.10x",dvdcss->psz_cache,i_block); if ( (fd=open( key_file,O_RDONLY ) ) > 0 ){ if(read(fd, p_title_key, 5)==5){ // success!