OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dvdnav: fix crash when poorly masterd disc has no menus
[handbrake-jp/handbrake-jp-git.git]
/
test
/
test.c
diff --git
a/test/test.c
b/test/test.c
index
54d7631
..
41bbe51
100644
(file)
--- a/
test/test.c
+++ b/
test/test.c
@@
-30,7
+30,7
@@
#endif
/* Options */
#endif
/* Options */
-static int debug = HB_DEBUG_
NONE
;
+static int debug = HB_DEBUG_
ALL
;
static int update = 0;
static int dvdnav = 0;
static char * input = NULL;
static int update = 0;
static int dvdnav = 0;
static char * input = NULL;
@@
-1382,7
+1382,8
@@
static int HandleEvents( hb_handle_t * h )
}
}
}
}
- if( hb_list_count(audios) == 0 )
+ if( hb_list_count(audios) == 0 &&
+ hb_list_count(job->title->list_audio) > 0 )
{
/* Create a new audio track with default settings */
audio = calloc(1, sizeof(*audio));
{
/* Create a new audio track with default settings */
audio = calloc(1, sizeof(*audio));