20 lines
805 B
Diff
20 lines
805 B
Diff
--- libhb/dvdnav.c
|
|
+++ libhb/dvdnav.c
|
|
@@ -1225,16 +1225,7 @@
|
|
{
|
|
for (kk = 0; kk < buttons; kk++)
|
|
{
|
|
- dvdnav_t *dvdnav_copy;
|
|
-
|
|
- result = dvdnav_dup( &dvdnav_copy, d->dvdnav );
|
|
- if (result != DVDNAV_STATUS_OK)
|
|
- {
|
|
- hb_log("dvdnav dup failed: %s", dvdnav_err_to_string(d->dvdnav));
|
|
- goto done;
|
|
- }
|
|
- title = try_button( dvdnav_copy, kk, list_title );
|
|
- dvdnav_free_dup( dvdnav_copy );
|
|
+ title = try_button( d->dvdnav, kk, list_title );
|
|
|
|
if ( title >= 0 )
|
|
{
|