diff options
author | ritsuka <[email protected]> | 2015-01-13 08:12:23 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-13 08:12:23 +0000 |
commit | 29ee7aebc3d94cfdd5ffb9eeae35bcbf85f1b81e (patch) | |
tree | 5e6d5122481882fd86143a069b24d8593a0f5f53 /libhb | |
parent | 677231f07d765e79afdc76e7741bb9e03bde1142 (diff) |
Revert a change Xcode committed on its own.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6742 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/dvdnav.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c index 9dcf9e530..f7153177c 100644 --- a/libhb/dvdnav.c +++ b/libhb/dvdnav.c @@ -334,7 +334,6 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t, uint64_t min_dura uint64_t duration, longest; int longest_pgcn, longest_pgn, longest_pgcn_end; const char * name; - unsigned char unused[1024]; const char * codec_name; hb_log( "scan: scanning title %d", t ); @@ -345,13 +344,8 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t, uint64_t min_dura { strncpy( title->name, name, sizeof( title->name ) ); } - - if (strlen(title->name) == 0) + else { - if( DVDUDFVolumeInfo( d->reader, title->name, sizeof( title->name ), - unused, sizeof( unused ) ) ) - { - char * p_cur, * p_last = d->path; for( p_cur = d->path; *p_cur; p_cur++ ) { @@ -364,7 +358,6 @@ static hb_title_t * hb_dvdnav_title_scan( hb_dvd_t * e, int t, uint64_t min_dura char *dot_term = strrchr(title->name, '.'); if (dot_term) *dot_term = '\0'; - } } /* VTS which our title is in */ |