aboutsummaryrefslogtreecommitdiff
path: root/multimedia/k9copy-reloaded/patches/k9copy-reloaded-consolidated-fixes.patch
blob: 0f1e0e16fe4b2439680675485d3c8d4535c468ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
diff -Naur k9copy.orig/CMakeLists.txt k9copy/CMakeLists.txt
--- k9copy.orig/CMakeLists.txt	2014-10-16 07:58:20.000000000 -0400
+++ k9copy/CMakeLists.txt	2020-12-24 10:48:11.088907284 -0500
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 3.1)
 project(k9copy)
 set (VERSION 3.0.3)
 
@@ -568,7 +569,11 @@
 
 install( FILES k9copy.desktop k9copy_assistant.desktop DESTINATION  ${XDG_APPS_INSTALL_DIR} )
 #install( FILES k9copy.kcfg  DESTINATION  ${KCFG_INSTALL_DIR} )
+if(QT5_BUILD)
+install( FILES k9copyui.rc  DESTINATION  ${KXMLGUI_INSTALL_DIR}/k9copy )
+else()
 install( FILES k9copyui.rc  DESTINATION  ${DATA_INSTALL_DIR}/k9copy )
+endif()
 
 install(FILES k9copy_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
 install(FILES k9copy_assistant_open.desktop DESTINATION ${DATA_INSTALL_DIR}/solid/actions)
diff -Naur k9copy.orig/k9copy.desktop k9copy/k9copy.desktop
--- k9copy.orig/k9copy.desktop	2014-09-29 11:00:11.000000000 -0400
+++ k9copy/k9copy.desktop	2020-12-24 10:48:11.089907292 -0500
@@ -1,13 +1,15 @@
 [Desktop Entry]
 Type=Application
-Name=k9copy
-Exec=k9copy -caption "%c" %i %u
+Name=K9copy
+Exec=k9copy
 Comment=DVD9 to DVD5 backup tool
+Comment[de]=DVD9 auf DVD5 sichern
 Comment[fr]=Backup de DVD9 en DVD5
 Comment[tr]=DVD9 DVD5 yedekleme aracı
 Comment[ru]=Инструмент для копирования с DVD9 на DVD5
 Comment[uk]=Інструмент резервного копіювання DVD
 GenericName=Video DVD Backup
+GenericName[de]=Video-DVD-Sicherung
 GenericName[fr]=Backup de DVD Video
 GenericName[tr]=DVD Vidyo Yedekleme Aracı
 GenericName[ru]=Копирование с видео-DVD
diff -Naur k9copy.orig/k9copy_assistant.desktop k9copy/k9copy_assistant.desktop
--- k9copy.orig/k9copy_assistant.desktop	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/k9copy_assistant.desktop	2020-12-24 10:48:11.089907292 -0500
@@ -1,9 +1,7 @@
-#!/usr/bin/env xdg-open
 [Desktop Entry]
-Encoding=UTF-8
 Type=Application
-Name=k9copy assistant
-Exec=k9copy --assistant -caption "%c" %i %m  %u
+Name=K9copy assistant
+Exec=k9copy --assistant
 Comment=DVD9 to DVD5 backup tool
 Comment[fr]=Backup de DVD9 en DVD5
 Comment[tr]=DVD9 DVD5 yedekleme aracı
@@ -14,9 +12,8 @@
 GenericName[tr]=DVD Vidyo Yedekleme Aracı
 GenericName[ru]=Копирование с видео-DVD
 GenericName[uk]=Копіювання відео-DVD
-MimeTypes=
 Terminal=false
 Icon=k9copy
 X-DocPath=k9copy/index.html
 Categories=Qt;KDE;AudioVideo;DiscBurning;
-X-KDE-StartupNotify=true
\ No newline at end of file
+X-KDE-StartupNotify=true
diff -Naur k9copy.orig/k9copy_assistant_open.desktop k9copy/k9copy_assistant_open.desktop
--- k9copy.orig/k9copy_assistant_open.desktop	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/k9copy_assistant_open.desktop	2020-12-24 10:48:11.121907568 -0500
@@ -1,5 +1,5 @@
 [Desktop Action open]
-Exec=k9copy --input %f --assistant
+Exec=k9copy --assistant
 Icon=k9copy
 Name=Copy with k9copy (wizard)
 Name[fr]=Copier avec k9copy (wizard)
@@ -11,4 +11,4 @@
 [Desktop Entry]
 X-KDE-Solid-Predicate=[[ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Data|VideoDvd' ] OR [ StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Data|VideoDvd' ]]
 Type=Service
-Actions=open;
\ No newline at end of file
+Actions=open;
diff -Naur k9copy.orig/po/ca.po k9copy/po/ca.po
--- k9copy.orig/po/ca.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/ca.po	2020-12-24 10:48:11.122907577 -0500
@@ -12,6 +12,7 @@
 "PO-Revision-Date: 2006-09-06 19:13+0200\n"
 "Last-Translator: Daniel Balagué Guardia <bullet@k-demar.org>\n"
 "Language-Team: Català <ca@li.org>\n"
+"Language: ca\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/cs.po k9copy/po/cs.po
--- k9copy.orig/po/cs.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/cs.po	2020-12-24 10:48:11.123907586 -0500
@@ -13,6 +13,7 @@
 "PO-Revision-Date: 2004-01-01 00:36+0100\n"
 "Last-Translator: \n"
 "Language-Team: Czech <kde-i18n-doc@kde.org>\n"
+"Language: cs\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/da.po k9copy/po/da.po
--- k9copy.orig/po/da.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/da.po	2020-12-24 10:48:11.125907603 -0500
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2010-05-12 14:26+0200\n"
 "Last-Translator: Martin Schlander <mschlander@opensuse.org>\n"
 "Language-Team: Danish <opensuse-translation@opensuse.org>\n"
+"Language: da\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/de.po k9copy/po/de.po
--- k9copy.orig/po/de.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/de.po	2020-12-24 10:48:11.126907611 -0500
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2009-06-12 14:13+0200\n"
 "Last-Translator: Jan Berndt <Jan.Berndt@gmx.de>\n"
 "Language-Team: deutsch <de@li.org>\n"
+"Language: de\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/el.po k9copy/po/el.po
--- k9copy.orig/po/el.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/el.po	2020-12-24 10:48:11.127907620 -0500
@@ -13,6 +13,7 @@
 "PO-Revision-Date: 2007-10-17 11:33+0300\n"
 "Last-Translator: Spiros Georgaras <sng@hellug.gr>\n"
 "Language-Team: Greek <i18ngr@lists.hellug.gr>\n"
+"Language: el\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/es.po k9copy/po/es.po
--- k9copy.orig/po/es.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/es.po	2020-12-24 10:48:11.127907620 -0500
@@ -12,6 +12,7 @@
 "PO-Revision-Date: 2006-09-06 19:11+0200\n"
 "Last-Translator: Daniel Balagué Guardia <bullet@k-demar.org>\n"
 "Language-Team: Català <ca@li.org>\n"
+"Language: es\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/es_AR.po k9copy/po/es_AR.po
--- k9copy.orig/po/es_AR.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/es_AR.po	2020-12-24 10:48:11.128907629 -0500
@@ -10,6 +10,7 @@
 "PO-Revision-Date: 2008-04-30 03:57-0300\n"
 "Last-Translator: Fernando Toledo <ftoledo@docksud.com.ar>\n"
 "Language-Team: Español (Argentina) <es@li.org>\n"
+"Language: es_AR\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/fr.po k9copy/po/fr.po
--- k9copy.orig/po/fr.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/fr.po	2020-12-24 10:48:11.128907629 -0500
@@ -9,6 +9,7 @@
 "PO-Revision-Date: 2007-07-24 09:24+0200\n"
 "Last-Translator: Jean-Michel Petit <k9copy@free.fr>\n"
 "Language-Team:  <fr@li.org>\n"
+"Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/it.po k9copy/po/it.po
--- k9copy.orig/po/it.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/it.po	2020-12-24 10:48:11.129907637 -0500
@@ -15,6 +15,7 @@
 "PO-Revision-Date: 2008-03-25 18:47+0100\n"
 "Last-Translator: Leonardo Finetti <finex@finex.org>\n"
 "Language-Team: italian <kde-i18n-it@kde.org>\n"
+"Language: it\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/ja.po k9copy/po/ja.po
--- k9copy.orig/po/ja.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/ja.po	2020-12-24 10:48:11.129907637 -0500
@@ -12,6 +12,7 @@
 "PO-Revision-Date: 2010-07-11 10:17+0900\n"
 "Last-Translator: Munehiro Yamamoto <munepixyz@gmail.com>\n"
 "Language-Team: munepi <munepixyz@gmail.com>\n"
+"Language: ja\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: \n"
diff -Naur k9copy.orig/po/k9copy.pot k9copy/po/k9copy.pot
--- k9copy.orig/po/k9copy.pot	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/k9copy.pot	2020-12-24 10:48:11.130907646 -0500
@@ -13,6 +13,7 @@
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: en\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/nl.po k9copy/po/nl.po
--- k9copy.orig/po/nl.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/nl.po	2020-12-24 10:48:11.130907646 -0500
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2009-05-10 16:15+0200\n"
 "Last-Translator: \n"
 "Language-Team: Dutch <kde-i18n-doc@kde.org>\n"
+"Language: nl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/pl.po k9copy/po/pl.po
--- k9copy.orig/po/pl.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/pl.po	2020-12-24 10:48:11.130907646 -0500
@@ -13,6 +13,7 @@
 "PO-Revision-Date: 2006-09-27 11:51+0200\n"
 "Last-Translator: Wojciech Nawrocki <wojtasin@o2.pl>\n"
 "Language-Team: Polski <pl@li.org>\n"
+"Language: pl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/pt_BR.po k9copy/po/pt_BR.po
--- k9copy.orig/po/pt_BR.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/pt_BR.po	2020-12-24 10:48:11.131907655 -0500
@@ -14,6 +14,7 @@
 "PO-Revision-Date: 2010-02-08 21:04-0200\n"
 "Last-Translator: Phantom X <megaphantomx at bol.com.br>\n"
 "Language-Team: Português do Brasil <pt@li.org>\n"
+"Language: pt_BR\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/ru.po k9copy/po/ru.po
--- k9copy.orig/po/ru.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/ru.po	2020-12-24 10:48:11.133907672 -0500
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2010-01-01 17:32+0000\n"
 "Last-Translator: kostya_hm <kostya.hm@rambler.ru>\n"
 "Language-Team: Russian <none>\n"
+"Language: ru\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/sr.po k9copy/po/sr.po
--- k9copy.orig/po/sr.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/sr.po	2020-12-24 10:48:11.133907672 -0500
@@ -14,6 +14,7 @@
 "PO-Revision-Date: 2007-08-15 11:15+0100\n"
 "Last-Translator: Милош Поповић <gpopac@gmail.com>\n"
 "Language-Team: Serbian <gnom@prevod.org>\n"
+"Language: sr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/sr@Latn.po k9copy/po/sr@Latn.po
--- k9copy.orig/po/sr@Latn.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/sr@Latn.po	2020-12-24 10:48:11.135907689 -0500
@@ -14,6 +14,7 @@
 "PO-Revision-Date: 2007-08-15 11:15+0100\n"
 "Last-Translator: Miloš Popović <gpopac@gmail.com>\n"
 "Language-Team: Serbian <gnom@prevod.org>\n"
+"Language: sr@Latn\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/tr.po k9copy/po/tr.po
--- k9copy.orig/po/tr.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/tr.po	2020-12-24 10:48:11.136907698 -0500
@@ -14,6 +14,7 @@
 "PO-Revision-Date: 2007-10-17 11:01+0300\n"
 "Last-Translator: Murat Şenel <muratasenel@gmail.com>\n"
 "Language-Team:  <tr@li.org>\n"
+"Language: tr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/uk.po k9copy/po/uk.po
--- k9copy.orig/po/uk.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/uk.po	2020-12-24 10:48:11.137907707 -0500
@@ -11,7 +11,7 @@
 "PO-Revision-Date: 2011-07-24 12:18+0300\n"
 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
 "Language-Team: Ukrainian <kde-i18n-uk@kde.org>\n"
-"Language: \n"
+"Language: uk\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/po/zh_TW.po k9copy/po/zh_TW.po
--- k9copy.orig/po/zh_TW.po	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/po/zh_TW.po	2020-12-24 10:48:11.137907707 -0500
@@ -12,6 +12,7 @@
 "PO-Revision-Date: 2007-10-24 19:43+0800\n"
 "Last-Translator: 洪任諭 <pcman.tw@gmail.com>\n"
 "Language-Team: Traditional Chinese <LL@li.org>\n"
+"Language: zh_TW\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Naur k9copy.orig/src/backup/k9dvdbackup.cpp k9copy/src/backup/k9dvdbackup.cpp
--- k9copy.orig/src/backup/k9dvdbackup.cpp	2014-09-29 12:55:40.000000000 -0400
+++ k9copy/src/backup/k9dvdbackup.cpp	2020-12-24 14:26:13.473270218 -0500
@@ -907,7 +907,7 @@ k9Vobu * k9DVDBackup::remapOffset(uint32
 
 
         if ((vobu1 !=NULL) && (vobu2!=NULL)) {
-            *_offset = abs(vobu1->newSector - vobu2->newSector)  | maskOffset1 ;
+            *_offset = abs((int32_t)(vobu1->newSector - vobu2->newSector))  | maskOffset1 ;
             *_offset |= maskOffset2;
             return vobu2;
         }
diff -Naur k9copy.orig/src/backup/k9execcopy.cpp k9copy/src/backup/k9execcopy.cpp
--- k9copy.orig/src/backup/k9execcopy.cpp	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/src/backup/k9execcopy.cpp	2020-12-24 10:48:11.138907715 -0500
@@ -306,7 +306,7 @@
 
 #if QT_VERSION >= 0x050000
     m_progressDialog=new QProgressDialog(k9Dialogs::getMainWidget() );
-    m_progressDialog->setCancelButton(false);
+    m_progressDialog->setCancelButton(NULL);
 
 #else
     m_progressDialog=new KProgressDialog(k9Dialogs::getMainWidget() );
diff -Naur k9copy.orig/src/import/k9avidecode.cpp k9copy/src/import/k9avidecode.cpp
--- k9copy.orig/src/import/k9avidecode.cpp	2014-09-29 11:00:12.000000000 -0400
+++ k9copy/src/import/k9avidecode.cpp	2020-12-24 12:11:16.447891983 -0500
@@ -26,7 +26,6 @@
 void av_free_packet_internal(AVPacket *pkt)
 {
     if (pkt) {
-        if (pkt->destruct) pkt->destruct(pkt);
         pkt->data = NULL; pkt->size = 0;
     }
 }
@@ -238,14 +237,14 @@
 
     int numBytes;
 // Determine required buffer size and allocate buffer
-    numBytes=avpicture_get_size(PIX_FMT_RGB24, m_CodecCtx->width,
+    numBytes=avpicture_get_size(AV_PIX_FMT_RGB24, m_CodecCtx->width,
                                 m_CodecCtx->height);
     m_buffer=(uint8_t *)av_malloc(numBytes*sizeof(uint8_t));
 
 // Assign appropriate parts of buffer to image planes in pFrameRGB
 // Note that pFrameRGB is an AVFrame, but AVFrame is a superset
 // of AVPicture
-    avpicture_fill((AVPicture *)m_FrameRGB, m_buffer, PIX_FMT_RGB24,
+    avpicture_fill((AVPicture *)m_FrameRGB, m_buffer, AV_PIX_FMT_RGB24,
                    m_CodecCtx->width, m_CodecCtx->height);
 
  
@@ -317,13 +316,13 @@
                     bFound=true;
 #ifndef HAVE_SWSCALE
                   // Convert the image from its native format to RGB
-                    img_convert((AVPicture *)m_FrameRGB, PIX_FMT_RGB24,
+                    img_convert((AVPicture *)m_FrameRGB, AV_PIX_FMT_RGB24,
                                 (AVPicture*)m_Frame, m_CodecCtx->pix_fmt,
                                 m_CodecCtx->width, m_CodecCtx->height);
                     SaveFrame(m_FrameRGB, m_CodecCtx->width,
                               m_CodecCtx->height);
 #else
-		    toRGB_convert_ctx=sws_getContext(m_CodecCtx->width, m_CodecCtx->height, m_CodecCtx->pix_fmt, m_CodecCtx->width, m_CodecCtx->height, PIX_FMT_RGB24, sws_flags,NULL,NULL,NULL);
+		    toRGB_convert_ctx=sws_getContext(m_CodecCtx->width, m_CodecCtx->height, m_CodecCtx->pix_fmt, m_CodecCtx->width, m_CodecCtx->height, AV_PIX_FMT_RGB24, sws_flags,NULL,NULL,NULL);
         		   sws_scale(toRGB_convert_ctx, m_Frame->data, m_Frame->linesize, 0, m_CodecCtx->height, m_FrameRGB->data,m_FrameRGB->linesize);
                     // convert frame to QImage
                     SaveFrame(m_FrameRGB, m_CodecCtx->width,
diff -Naur k9copy.orig/src/libdvdnav-NOW/dvdnav/dvdnav.h k9copy/src/libdvdnav-NOW/dvdnav/dvdnav.h
--- k9copy.orig/src/libdvdnav-NOW/dvdnav/dvdnav.h	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/dvdnav/dvdnav.h	2020-12-24 10:48:11.139907724 -0500
@@ -32,11 +32,11 @@
 extern "C" {
 #endif
 
-#include <dvdnav/dvd_types.h>
-#include <dvdread/dvd_reader.h>
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h> /* For vm_cmd_t */
-#include <dvdnav/dvdnav_events.h>
+#include "dvdnav/dvd_types.h"
+#include "dvdread/dvd_reader.h"
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h" /* For vm_cmd_t */
+#include "dvdnav/dvdnav_events.h"
 
 
 
diff -Naur k9copy.orig/src/libdvdnav-NOW/dvdnav.c k9copy/src/libdvdnav-NOW/dvdnav.c
--- k9copy.orig/src/libdvdnav-NOW/dvdnav.c	2014-09-29 12:02:49.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/dvdnav.c	2020-12-24 10:48:11.139907724 -0500
@@ -34,14 +34,14 @@
 #include <string.h>
 #include <sys/time.h>
 #include "dvdnav/dvdnav.h"
-#include <dvdread/dvd_reader.h>
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h> /* For vm_cmd_t */
+#include "dvdread/dvd_reader.h"
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h" /* For vm_cmd_t */
 #include "vm/decoder.h"
 #include "vm/vm.h"
 #include "dvdnav_internal.h"
 #include "read_cache.h"
-#include <dvdread/nav_read.h>
+#include "dvdread/nav_read.h"
 
 static dvdnav_status_t dvdnav_clear(dvdnav_t * this) {
   /* clear everything except file, vm, mutex, readahead */
diff -Naur k9copy.orig/src/libdvdnav-NOW/highlight.c k9copy/src/libdvdnav-NOW/highlight.c
--- k9copy.orig/src/libdvdnav-NOW/highlight.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/highlight.c	2020-12-24 10:48:11.139907724 -0500
@@ -29,7 +29,7 @@
 #include <limits.h>
 #include <string.h>
 #include <sys/time.h>
-#include <dvdread/nav_types.h>
+#include "dvdread/nav_types.h"
 #include "dvdnav/dvdnav.h"
 #include "vm/decoder.h"
 #include "vm/vm.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/navigation.c k9copy/src/libdvdnav-NOW/navigation.c
--- k9copy.orig/src/libdvdnav-NOW/navigation.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/navigation.c	2020-12-24 10:48:11.139907724 -0500
@@ -27,8 +27,8 @@
 #include <string.h>
 #include <sys/time.h>
 #include "dvdnav/dvdnav.h"
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
 #include "vm/decoder.h"
 #include "vm/vm.h"
 #include "dvdnav_internal.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/read_cache.c k9copy/src/libdvdnav-NOW/read_cache.c
--- k9copy.orig/src/libdvdnav-NOW/read_cache.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/read_cache.c	2020-12-24 10:48:11.140907732 -0500
@@ -34,8 +34,8 @@
 #include <sys/time.h>
 #include <time.h>
 #include "dvdnav/dvdnav.h"
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
 #include "vm/decoder.h"
 #include "vm/vm.h"
 #include "dvdnav_internal.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/searching.c k9copy/src/libdvdnav-NOW/searching.c
--- k9copy.orig/src/libdvdnav-NOW/searching.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/searching.c	2020-12-24 10:48:11.140907732 -0500
@@ -30,12 +30,12 @@
 #include <stdlib.h>
 #include <sys/time.h>
 #include "dvdnav/dvdnav.h"
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
 #include "vm/decoder.h"
 #include "vm/vm.h"
 #include "dvdnav_internal.h"
-#include <dvdread/ifo_read.h>
+#include "dvdread/ifo_read.h"
 
 /*
 #define LOG_DEBUG
diff -Naur k9copy.orig/src/libdvdnav-NOW/settings.c k9copy/src/libdvdnav-NOW/settings.c
--- k9copy.orig/src/libdvdnav-NOW/settings.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/settings.c	2020-12-24 10:48:11.140907732 -0500
@@ -27,8 +27,8 @@
 #include <string.h>
 #include <sys/time.h>
 #include "dvdnav/dvdnav.h"
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
 #include "vm/decoder.h"
 #include "vm/vm.h"
 #include "dvdnav_internal.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/vm/decoder.c k9copy/src/libdvdnav-NOW/vm/decoder.c
--- k9copy.orig/src/libdvdnav-NOW/vm/decoder.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/vm/decoder.c	2020-12-24 10:48:11.140907732 -0500
@@ -32,8 +32,8 @@
 #include <sys/time.h>
 #include <assert.h>
 
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h> /* vm_cmd_t */
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h" /* vm_cmd_t */
 
 #include "dvdnav/dvdnav.h"
 #include "decoder.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/vm/getset.c k9copy/src/libdvdnav-NOW/vm/getset.c
--- k9copy.orig/src/libdvdnav-NOW/vm/getset.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/vm/getset.c	2020-12-24 10:48:11.141907741 -0500
@@ -30,9 +30,9 @@
 #include <stdio.h>
 #include <inttypes.h>
 
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
-#include <dvdread/ifo_read.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
+#include "dvdread/ifo_read.h"
 #include "dvdnav/dvdnav.h"
 
 #include "decoder.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/vm/play.c k9copy/src/libdvdnav-NOW/vm/play.c
--- k9copy.orig/src/libdvdnav-NOW/vm/play.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/vm/play.c	2020-12-24 10:48:11.141907741 -0500
@@ -29,9 +29,9 @@
 #include <stdlib.h>
 #include <stdio.h>
 
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
-#include <dvdread/ifo_read.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
+#include "dvdread/ifo_read.h"
 #include "dvdnav/dvdnav.h"
 
 #include "decoder.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/vm/vm.c k9copy/src/libdvdnav-NOW/vm/vm.c
--- k9copy.orig/src/libdvdnav-NOW/vm/vm.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/vm/vm.c	2020-12-24 10:48:11.141907741 -0500
@@ -37,9 +37,9 @@
 #include <sys/time.h>
 #include <fcntl.h>
 
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
-#include <dvdread/ifo_read.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
+#include "dvdread/ifo_read.h"
 #include "dvdnav/dvdnav.h"
 
 #include "decoder.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/vm/vmcmd.c k9copy/src/libdvdnav-NOW/vm/vmcmd.c
--- k9copy.orig/src/libdvdnav-NOW/vm/vmcmd.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/vm/vmcmd.c	2020-12-24 10:48:11.141907741 -0500
@@ -31,8 +31,8 @@
 #include <sys/time.h>
 
 #include "dvdnav/dvdnav.h"
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
 #include "decoder.h"
 #include "vm.h"
 #include "vmcmd.h"
diff -Naur k9copy.orig/src/libdvdnav-NOW/vm/vmget.c k9copy/src/libdvdnav-NOW/vm/vmget.c
--- k9copy.orig/src/libdvdnav-NOW/vm/vmget.c	2014-09-29 11:50:54.000000000 -0400
+++ k9copy/src/libdvdnav-NOW/vm/vmget.c	2020-12-24 10:48:11.141907741 -0500
@@ -31,9 +31,9 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <dvdread/nav_types.h>
-#include <dvdread/ifo_types.h>
-#include <dvdread/ifo_read.h>
+#include "dvdread/nav_types.h"
+#include "dvdread/ifo_types.h"
+#include "dvdread/ifo_read.h"
 #include "dvdnav/dvdnav.h"
 
 #include "decoder.h"