200bed5c06
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
20 lines
809 B
Diff
20 lines
809 B
Diff
--- a/libhb/dvdnav.c
|
|
+++ b/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 )
|
|
{
|