commit 48a2376f7e6e9e42d3a5a635531d77afae1fcc35
parent a7a304e2c32b33857eb0735386287a91d017e26b
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 22 Nov 2018 11:46:15 +0100
fix indentation issues
Diffstat:
| M | po/de.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/es.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/fr.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/ga.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/it.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/libextractor.pot | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/nl.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/pl.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/ro.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/rw.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/sr.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/sv.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/uk.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | po/vi.po | | | 42 | +++++++++++++++++++++--------------------- |
| M | src/include/platform.h | | | 4 | ++-- |
| M | src/plugins/previewopus_extractor.c | | | 392 | +++++++++++++++++++++++++++++++++++++++---------------------------------------- |
16 files changed, 490 insertions(+), 494 deletions(-)
diff --git a/po/de.po b/po/de.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2014-03-03 19:53+0100\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
@@ -2008,83 +2008,83 @@ msgstr "Befehle zur Systemkonfiguration"
msgid "Kernel routines"
msgstr "Kernelroutinen"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "No Proofing"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Traditionelles Chinesisch"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Vereinfachtes Chinesisch"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Schweizerdeutsch"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Amerikanisches Englisch"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Britsches Englisch"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Australisches Englisch"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Kastilisches Spanisch"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Mexikanisches Spanisch"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Belgisches Französisch"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Kanadisches Französisch"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Schweizer Französisch"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Schweizer Italienisch"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Belgisches Niederländisch"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Norwegisch (Bokmal)"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Rätoromanisch"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Serbokroatisch (Lateinisch)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Serbokroatisch (Kyrillisch)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Farsi"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Revision #%u: Autor »%s« arbeitete an »%s«"
diff --git a/po/es.po b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2018-04-27 22:53+0200\n"
"Last-Translator: Francisco Javier Serrador <fserrador@gmail.com>\n"
"Language-Team: Spanish <es@tp.org.es>\n"
@@ -1973,83 +1973,83 @@ msgstr "Mandatos gestionados del sistema"
msgid "Kernel routines"
msgstr "Rutinas del núcleo"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Sin Pruebas"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Chino tradicional"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Chino simplificado"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Alemán suizo"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Inglés norteamericano"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Inglés británico"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Inglés australiano"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Español castellano"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Español mejicano"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Francés belga"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Francés canadiense"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Francés suizo"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Italiano suizo"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Holandés belga"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Noruego Bokmal"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr ""
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Serbio croata (latinos)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Serbio-croata (cirílico)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Farsí"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Revisión #%u: Autor «%s» trabajado en «%s»"
diff --git a/po/fr.po b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2017-04-29 22:30+0200\n"
"Last-Translator: Stéphane Aulery <lkppo@free.fr>\n"
"Language-Team: French <traduc@traduc.org>\n"
@@ -1989,83 +1989,83 @@ msgstr "Commandes de gestion système"
msgid "Kernel routines"
msgstr "Fonctions du Noyau"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Pas d’épreuvage"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Traditionnel Chinois"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Chinois simplifié"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Allemand (Suisse)"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Anglais (US)"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Anglais"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Anglais (Australie)"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Espagnol (castillan)"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Espagnol (mexicain)"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Français (Belgique)"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Français (Canada)"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Français (Suisse)"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Italien (Suisse)"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Allemand (Belgique)"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Bokmal (Norvège)"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Rhaeto-Romanic"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Serbo-Croate (latin)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Serbo-Croate (cyrillique)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Farsi"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Révision %u : « %s » est l’auteur de « %s »"
diff --git a/po/ga.po b/po/ga.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.20\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2008-03-21 20:46-0700\n"
"Last-Translator: Kevin Scannell <kscanne@gmail.com>\n"
"Language-Team: Irish <gaeilge-gnulinux@lists.sourceforge.net>\n"
@@ -2051,83 +2051,83 @@ msgstr "Orduithe bainisteoireacht an ch
msgid "Kernel routines"
msgstr "Feidhmeanna eithne"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Gan Phrofadh"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Snis Traidisinta"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Snis Simplithe"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Gearminis Eilviseach"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Barla S.A.M."
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Barla Sasanach"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Barla Astrlach"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Spinnis Chaistleach"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Spinnis Mheicsiceach"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Fraincis Bheilgeach"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Fraincis Cheanadach"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Fraincis Eilviseach"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Iodilis Eilviseach"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Ollainnis Bheilgeach"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Ioruais Bokml"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Raeta-Rminsis"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Seirbea-Chritis (Laidineach)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Seirbea-Chritis (Coireallach)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Fairsis"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, fuzzy, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Leas #%u: D'oibrigh dar '%s' ar '%s'"
diff --git a/po/it.po b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor-0.6.0\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2010-09-30 23:41+0200\n"
"Last-Translator: Sergio Zanchetta <primes2h@ubuntu.com>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
@@ -1973,83 +1973,83 @@ msgstr ""
msgid "Kernel routines"
msgstr "Routine del kernel"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr ""
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Cinese tradizionale"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Cinese semplificato"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Tedesco svizzero"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Inglese americano"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Inglese britannico"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Inglese australiano"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Spagnolo messicano"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Francese belga"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Franco canadese"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Francese svizzero"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Italiano svizzero"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Olandese belga"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Bokmal norvegese"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr ""
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr ""
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr ""
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Farsi"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr ""
diff --git a/po/libextractor.pot b/po/libextractor.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1943,83 +1943,83 @@ msgstr ""
msgid "Kernel routines"
msgstr ""
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr ""
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr ""
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr ""
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr ""
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr ""
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr ""
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr ""
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr ""
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr ""
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr ""
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr ""
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr ""
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr ""
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr ""
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr ""
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr ""
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr ""
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr ""
diff --git a/po/nl.po b/po/nl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor-1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2013-08-21 22:41+0200\n"
"Last-Translator: Benno Schulenberg <benno@vertaalt.nl>\n"
"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
@@ -1994,83 +1994,83 @@ msgstr "Systeembeheercommando's"
msgid "Kernel routines"
msgstr "Kernelroutines"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "geen controle"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Traditioneel Chinees"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Vereenvoudigd Chinees"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Zwitserduits"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Amerikaans Engels"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Brits Engels"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Australisch Engels"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Castilliaans Spaans"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Mexicaans Spaans"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Waals"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Canadees Frans"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Zwitsers Frans"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Zwitsers Italiaans"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Vlaams"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Noors Bokmål"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Reto-Romaans"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Servo-Kroatisch (latijns schrift)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Servo-Kroatisch (cyrillisch schrift)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Perzisch"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Revisie #%u: Auteur '%s' werkte aan '%s'"
diff --git a/po/pl.po b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2012-12-01 15:45+0100\n"
"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
@@ -1981,83 +1981,83 @@ msgstr "Polecenia zarządzania systemem"
msgid "Kernel routines"
msgstr "Funkcje jądra"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Bez korekty"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "chiński tradycyjny"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "chiński uproszczony"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "niemiecki szwajcarski"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "angielski amerykański"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "angielski brytyjski"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "angielski australijski"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "hiszpański kastylijski"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "hiszpański meksykański"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "francuski belgijski"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "francuski kanadyjski"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "francuski szwajcarski"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "włoski szwajcarski"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "holenderski belgijski"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "norweski bokmaal"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "retoromański"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "chorwackoserbski (łaciński)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "serbsko-chorwacki (cyrylicki)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "perski"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Rewizja #%u: Autor `%s' pracował nad `%s'"
diff --git a/po/ro.po b/po/ro.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.3\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2005-08-16 12:00-0500\n"
"Last-Translator: Laurentiu Buzdugan <lbuz@rolix.org>\n"
"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
@@ -2049,83 +2049,83 @@ msgstr "Comenzi pentru managementul sistemului"
msgid "Kernel routines"
msgstr "Proceduri kernel"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr ""
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr ""
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr ""
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr ""
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr ""
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr ""
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr ""
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr ""
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr ""
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr ""
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr ""
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr ""
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr ""
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr ""
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr ""
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr ""
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr ""
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr ""
diff --git a/po/rw.po b/po/rw.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.4.2\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2005-04-04 10:55-0700\n"
"Last-Translator: Steven Michael Murphy <murf@e-tools.com>\n"
"Language-Team: Kinyarwanda <translation-team-rw@lists.sourceforge.net>\n"
@@ -2283,83 +2283,83 @@ msgstr "Amabwiriza"
msgid "Kernel routines"
msgstr ""
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr ""
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr ""
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr ""
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr ""
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr ""
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr ""
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr ""
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr ""
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr ""
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr ""
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr ""
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr ""
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr ""
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr ""
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr ""
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr ""
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr ""
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr ""
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr ""
diff --git a/po/sr.po b/po/sr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor-1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2017-01-05 06:41+0200\n"
"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
"Language-Team: Serbian <(nothing)>\n"
@@ -1980,83 +1980,83 @@ msgstr "Наредбе управљања системом"
msgid "Kernel routines"
msgstr "Рутине кернела"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Без доказивања"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Традиционални кинески"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Поједностављени кинески"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Швајцарски немачки"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Амерички енглески"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Британски енглески"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Аустралијски енглески"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Кастиљски шпамски"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Мексички шпански"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Белгијски француски"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Канадски француски"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Швајцарски француски"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Швајцарски италијански"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Белгијски холандски"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Норвешки букмал"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Реторомански"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Хрватски (латиница)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Српски (ћирилица)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Фарси"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Ревизија #%u: Аутор „%s“ је радио „%s“"
diff --git a/po/sv.po b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.22\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2009-05-12 17:45+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -2062,83 +2062,83 @@ msgid "Kernel routines"
msgstr "Kärnrutiner"
# Hjälp! Rätt översättning?
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Ingen korrekturläsning"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Traditionell kinesiska"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Förenklad kinesiska"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Schweizisk tyska"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Amerikansk engelska"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Brittisk engelska"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Australisk engelska"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Kastiliansk spanska"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Mexikansk spanska"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Belgisk franska"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Kanadensisk franska"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Schweizisk franska"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Schweizisk italienska"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Belgisk holländska"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Norska (Bokmål)"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Rätoromanska"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Kroatoserbiska (Latin)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Serbokroatiska (Kyrillisk)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Farsi"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, fuzzy, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Revision %u: Upphovsmannen \"%s\" arbetade på \"%s\""
diff --git a/po/uk.po b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 1.0.0-pre1\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2012-09-05 22:36+0300\n"
"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
"Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n"
@@ -1989,83 +1989,83 @@ msgstr "Команди керування системою"
msgid "Kernel routines"
msgstr "Процедури ядра"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Без перевірки"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Традиційна китайська"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Спрощена китайська"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Швейцарська німецька"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Американська англійська"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Британська англійська"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Австралійська англійська"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Кастильська іспанська"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Мексиканська іспанська"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Бельгійська французька"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Канадська французька"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Швейцарська французька"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Швейцарська італійська"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Бельгійська голландська"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Норвезька (бокмал)"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Ретороманська"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Хорвато-сербська (латиниця)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Сербо-хорватська (кирилиця)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Фарсі"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Модифікація %u: автор «%s», співробітник «%s»"
diff --git a/po/vi.po b/po/vi.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.6.0\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2018-07-12 22:32+0200\n"
+"POT-Creation-Date: 2018-11-18 11:20+0100\n"
"PO-Revision-Date: 2010-02-11 00:13+0930\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
@@ -2014,83 +2014,83 @@ msgstr "Lệnh quản lý hệ thống"
msgid "Kernel routines"
msgstr "Thao tác hạt nhân"
-#: src/plugins/ole2_extractor.c:397
+#: src/plugins/ole2_extractor.c:408
msgid "No Proofing"
msgstr "Đừng bắt lỗi"
-#: src/plugins/ole2_extractor.c:405
+#: src/plugins/ole2_extractor.c:416
msgid "Traditional Chinese"
msgstr "Tiếng Hoa truyền thống"
-#: src/plugins/ole2_extractor.c:407
+#: src/plugins/ole2_extractor.c:418
msgid "Simplified Chinese"
msgstr "Tiếng Hoa giản thể"
-#: src/plugins/ole2_extractor.c:415
+#: src/plugins/ole2_extractor.c:426
msgid "Swiss German"
msgstr "Đức Thụy Sĩ"
-#: src/plugins/ole2_extractor.c:419
+#: src/plugins/ole2_extractor.c:430
msgid "U.S. English"
msgstr "Tiếng Anh (Mỹ)"
-#: src/plugins/ole2_extractor.c:421
+#: src/plugins/ole2_extractor.c:432
msgid "U.K. English"
msgstr "Tiếng Anh (Quốc Anh)"
-#: src/plugins/ole2_extractor.c:423
+#: src/plugins/ole2_extractor.c:434
msgid "Australian English"
msgstr "Tiếng Anh (Úc)"
-#: src/plugins/ole2_extractor.c:425
+#: src/plugins/ole2_extractor.c:436
msgid "Castilian Spanish"
msgstr "Tây Ban Nha (Căt-tín)"
-#: src/plugins/ole2_extractor.c:427
+#: src/plugins/ole2_extractor.c:438
msgid "Mexican Spanish"
msgstr "Tây Ban Nha (Mê-hi-cô)"
-#: src/plugins/ole2_extractor.c:433
+#: src/plugins/ole2_extractor.c:444
msgid "Belgian French"
msgstr "Pháp (Bỉ)"
-#: src/plugins/ole2_extractor.c:435
+#: src/plugins/ole2_extractor.c:446
msgid "Canadian French"
msgstr "Pháp (Ca-na-đa)"
-#: src/plugins/ole2_extractor.c:437
+#: src/plugins/ole2_extractor.c:448
msgid "Swiss French"
msgstr "Pháp (Thuỵ sĩ)"
-#: src/plugins/ole2_extractor.c:447
+#: src/plugins/ole2_extractor.c:458
msgid "Swiss Italian"
msgstr "Ý (Thuỵ sĩ)"
-#: src/plugins/ole2_extractor.c:455
+#: src/plugins/ole2_extractor.c:466
msgid "Belgian Dutch"
msgstr "Hoà Lan (Bỉ)"
-#: src/plugins/ole2_extractor.c:457
+#: src/plugins/ole2_extractor.c:468
msgid "Norwegian Bokmal"
msgstr "Na Uy (Bóc-măn)"
-#: src/plugins/ole2_extractor.c:467
+#: src/plugins/ole2_extractor.c:478
msgid "Rhaeto-Romanic"
msgstr "Rai-tô-Rô-ma-ni"
-#: src/plugins/ole2_extractor.c:473
+#: src/plugins/ole2_extractor.c:484
msgid "Croato-Serbian (Latin)"
msgstr "Xéc-bi Cợ-rô-a-ti-a (La-tinh)"
-#: src/plugins/ole2_extractor.c:475
+#: src/plugins/ole2_extractor.c:486
msgid "Serbo-Croatian (Cyrillic)"
msgstr "Xéc-bi Cợ-rô-a-ti-a (Ki-rin)"
-#: src/plugins/ole2_extractor.c:503
+#: src/plugins/ole2_extractor.c:514
msgid "Farsi"
msgstr "Pha-xi"
-#: src/plugins/ole2_extractor.c:593
+#: src/plugins/ole2_extractor.c:604
#, fuzzy, c-format
msgid "Revision #%u: Author `%s' worked on `%s'"
msgstr "Bản sửa đổi #%u: Tác giả « %s » đã làm việc « %s »."
diff --git a/src/include/platform.h b/src/include/platform.h
@@ -17,11 +17,9 @@
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-
/**
* @file include/platform.h
* @brief plaform specifics
- *
* @author Nils Durner
*/
@@ -83,4 +81,6 @@
#define ABORT() DebugBreak ()
#endif
+
+
#endif
diff --git a/src/plugins/previewopus_extractor.c b/src/plugins/previewopus_extractor.c
@@ -31,7 +31,7 @@
* (2) ffmpeg has a history of having security issues (parser is not robust)
*
* So this plugin cannot be recommended for system with high security
- *requirements.
+ *requirements.
*/
#include "platform.h"
#include "extractor.h"
@@ -76,12 +76,12 @@
/**
* Set to 1 to enable debug output.
- */
+ */
#define DEBUG 0
/**
* Set to 1 to enable a output file for testing.
- */
+ */
#define OUTPUT_FILE 0
@@ -186,7 +186,7 @@ static int writePacket(void *opaque, unsigned char *pBuffer, int pBufferSize) {
memcpy(buffer + totalSize, pBuffer, sizeToCopy);
totalSize+= sizeToCopy;
-
+
return sizeToCopy;
}
@@ -205,14 +205,14 @@ static int open_output_file(
AVCodec *output_codec = NULL;
AVIOContext *io_ctx;
int error;
-
+
unsigned char *iob;
if (NULL == (iob = av_malloc (16 * 1024)))
return AVERROR_EXIT;
if (NULL == (io_ctx = avio_alloc_context (iob, 16 * 1024,
- AVIO_FLAG_WRITE, NULL,
+ AVIO_FLAG_WRITE, NULL,
NULL,
&writePacket /* no writing */,
NULL)))
@@ -226,16 +226,16 @@ static int open_output_file(
return AVERROR_EXIT;
}
(*output_format_context)->pb = io_ctx;
-
+
/** Guess the desired container format based on the file extension. */
if (!((*output_format_context)->oformat = av_guess_format(NULL, "file.ogg",
NULL))) {
-#if DEBUG
+#if DEBUG
fprintf(stderr, "Could not find output file format\n");
#endif
goto cleanup;
}
-
+
/** Find the encoder to be used by its name. */
if (!(output_codec = avcodec_find_encoder(AV_CODEC_ID_OPUS))) {
@@ -268,7 +268,7 @@ static int open_output_file(
(*output_codec_context)->sample_fmt = AV_SAMPLE_FMT_S16;
(*output_codec_context)->bit_rate = OUTPUT_BIT_RATE;
-
+
/** Open the encoder for the audio stream to use it later. */
if ((error = avcodec_open2(*output_codec_context, output_codec, NULL)) < 0) {
#if DEBUG
@@ -326,7 +326,7 @@ static int init_resampler(AVCodecContext *input_codec_context,
if (input_codec_context->sample_fmt != output_codec_context->sample_fmt ||
input_codec_context->channels != output_codec_context->channels) {
int error;
-
+
/** Create a resampler context for the conversion. */
if (!(*resample_context = avresample_alloc_context())) {
#if DEBUG
@@ -334,7 +334,7 @@ static int init_resampler(AVCodecContext *input_codec_context,
#endif
return AVERROR(ENOMEM);
}
-
+
/**
* Set the conversion parameters.
@@ -397,7 +397,7 @@ static int write_output_file_header(AVFormatContext *output_format_context)
/** Decode one audio frame from the input file. */
static int decode_audio_frame(AVFrame *frame,
AVFormatContext *input_format_context,
- AVCodecContext *input_codec_context, int audio_stream_index,
+ AVCodecContext *input_codec_context, int audio_stream_index,
int *data_present, int *finished)
{
/** Packet used for temporary storage. */
@@ -423,7 +423,7 @@ static int decode_audio_frame(AVFrame *frame,
return error;
}
}
-
+
if(input_packet.stream_index == audio_stream_index)
break;
}
@@ -504,7 +504,7 @@ static int init_converted_samples(uint8_t ***converted_input_samples, int* out_l
* by frame_size.
*/
static int convert_samples(uint8_t **input_data,
- uint8_t **converted_data, const int in_sample, const int out_sample, const int out_linesize,
+ uint8_t **converted_data, const int in_sample, const int out_sample, const int out_linesize,
AVAudioResampleContext *resample_context)
{
int error;
@@ -518,8 +518,8 @@ static int convert_samples(uint8_t **input_data,
#endif
return error;
}
-
-
+
+
/**
* Perform a sanity check so that the number of converted samples is
* not greater than the number of samples to be converted.
@@ -588,7 +588,7 @@ static int read_decode_convert_and_store(AVAudioFifo *fifo,
fprintf(stderr, "Failed at init frame\n");
#endif
goto cleanup;
-
+
}
/** Decode one frame worth of audio samples. */
if (decode_audio_frame(input_frame, input_format_context,
@@ -596,9 +596,9 @@ static int read_decode_convert_and_store(AVAudioFifo *fifo,
#if DEBUG
fprintf(stderr, "Failed at decode audio\n");
#endif
-
+
goto cleanup;
-
+
}
/**
* If we are at the end of the file and there are no more samples
@@ -622,7 +622,7 @@ static int read_decode_convert_and_store(AVAudioFifo *fifo,
//fprintf(stderr, "Input nbsamples %i out_samples: %i \n",input_frame->nb_samples,out_samples);
/** Initialize the temporary storage for the converted input samples. */
- if (init_converted_samples(&converted_input_samples, &out_linesize, output_codec_context,
+ if (init_converted_samples(&converted_input_samples, &out_linesize, output_codec_context,
out_samples)){
#if DEBUG
fprintf(stderr, "Failed at init_converted_samples\n");
@@ -636,8 +636,8 @@ static int read_decode_convert_and_store(AVAudioFifo *fifo,
*/
if (convert_samples(input_frame->extended_data, converted_input_samples,
input_frame->nb_samples, out_samples, out_linesize ,resampler_context)){
-
-
+
+
#if DEBUG
fprintf(stderr, "Failed at convert_samples, input frame %i \n",input_frame->nb_samples);
#endif
@@ -704,10 +704,10 @@ static int init_output_frame(AVFrame **frame,
(*frame)->format = output_codec_context->sample_fmt;
(*frame)->sample_rate = output_codec_context->sample_rate;
-
-
- //fprintf(stderr, "%i %i \n",frame_size , (*frame)->format,(*frame)->sample_rate);
-
+
+
+ //fprintf(stderr, "%i %i \n",frame_size , (*frame)->format,(*frame)->sample_rate);
+
/**
* Allocate the samples of the created frame. This call will make
* sure that the audio frame can hold as many samples as specified.
@@ -745,7 +745,7 @@ static int encode_audio_frame(AVFrame *frame,
if ((error = avcodec_encode_audio2(output_codec_context, &output_packet,
frame, data_present)) < 0) {
#if DEBUG
- fprintf(stderr, "Could not encode frame (error '%s')\n",
+ fprintf(stderr, "Could not encode frame (error '%s')\n",
get_error_text(error));
#endif
av_free_packet(&output_packet);
@@ -759,14 +759,14 @@ static int encode_audio_frame(AVFrame *frame,
fprintf(stderr, "Could not write frame (error '%s')\n",
get_error_text(error));
#endif
-
+
av_free_packet(&output_packet);
return error;
}
av_free_packet(&output_packet);
}
-
+
return 0;
}
@@ -788,7 +788,7 @@ static int load_encode_and_write(AVAudioFifo *fifo,
const int frame_size = FFMIN(av_audio_fifo_size(fifo),
output_codec_context->frame_size);
int data_written;
-
+
/** Initialize temporary storage for one output frame. */
if (init_output_frame(&output_frame, output_codec_context, frame_size))
return AVERROR_EXIT;
@@ -832,7 +832,7 @@ static int write_output_file_trailer(AVFormatContext *output_format_context)
int error;
if ((error = av_write_trailer(output_format_context)) < 0) {
#if DEBUG
- fprintf(stderr, "Could not write output file trailer (error '%s')\n",
+ fprintf(stderr, "Could not write output file trailer (error '%s')\n",
get_error_text(error));
#endif
return error;
@@ -861,21 +861,19 @@ extract_audio (struct EXTRACTOR_ExtractContext *ec)
AVCodecContext* output_codec_context = NULL;
AVAudioResampleContext *resample_context = NULL;
AVAudioFifo *fifo = NULL;
-
-
+
int audio_stream_index;
int i;
int err;
int duration;
unsigned char *iob;
-
-
+
+
totalSize =0;
-
if (NULL == (iob = av_malloc (16 * 1024)))
return;
if (NULL == (io_ctx = avio_alloc_context (iob, 16 * 1024,
- 0, ec,
+ 0, ec,
&read_cb,
NULL /* no writing */,
&seek_cb)))
@@ -892,7 +890,7 @@ extract_audio (struct EXTRACTOR_ExtractContext *ec)
options = NULL;
if (0 != avformat_open_input (&format_ctx, "<no file>", NULL, &options))
return;
- av_dict_free (&options);
+ av_dict_free (&options);
if (0 > avformat_find_stream_info (format_ctx, NULL))
{
#if DEBUG
@@ -919,7 +917,7 @@ extract_audio (struct EXTRACTOR_ExtractContext *ec)
codec = NULL;
continue;
}
- av_dict_free (&options);
+ av_dict_free (&options);
audio_stream_index = i;
break;
}
@@ -953,195 +951,194 @@ extract_audio (struct EXTRACTOR_ExtractContext *ec)
av_free (io_ctx);
return;
}
-
-
- if(!(buffer = malloc(HARD_LIMIT_SIZE)))
- goto cleanup;
-
-
- /** Open the output file for writing. */
- if (open_output_file( codec_ctx,&output_format_context, &output_codec_context))
- goto cleanup;
- /** Initialize the resampler to be able to convert audio sample formats. */
- if (init_resampler(codec_ctx, output_codec_context,
- &resample_context))
- goto cleanup;
- /** Initialize the FIFO buffer to store audio samples to be encoded. */
- if (init_fifo(&fifo))
- goto cleanup;
-
- /** Write the header of the output file container. */
- if (write_output_file_header(output_format_context))
- goto cleanup;
-
+
+
+ if (! (buffer = malloc(HARD_LIMIT_SIZE)))
+ goto cleanup;
+
+
+ /** Open the output file for writing. */
+ if (open_output_file( codec_ctx,&output_format_context, &output_codec_context))
+ goto cleanup;
+ /** Initialize the resampler to be able to convert audio sample formats. */
+ if (init_resampler(codec_ctx, output_codec_context,
+ &resample_context))
+ goto cleanup;
+ /** Initialize the FIFO buffer to store audio samples to be encoded. */
+ if (init_fifo(&fifo))
+ goto cleanup;
+
+ /** Write the header of the output file container. */
+ if (write_output_file_header(output_format_context))
+ goto cleanup;
+
if (format_ctx->duration == AV_NOPTS_VALUE)
- {
- duration = -1;
+ {
+ duration = -1;
#if DEBUG
- fprintf (stderr,
- "Duration unknown\n");
+ fprintf (stderr,
+ "Duration unknown\n");
#endif
- }
+ }
else
- {
+ {
#if DEBUG
- duration = format_ctx->duration;
- fprintf (stderr,
- "Duration: %lld\n",
- format_ctx->duration);
-#endif
- }
-
-
+ duration = format_ctx->duration;
+ fprintf (stderr,
+ "Duration: %lld\n",
+ format_ctx->duration);
+#endif
+ }
+
+
/* if duration is known, seek to first tried,
* else use 10 sec into stream */
-
+
if(-1 != duration)
- err = av_seek_frame (format_ctx, -1, (duration/3), 0);
+ err = av_seek_frame (format_ctx, -1, (duration/3), 0);
else
- err = av_seek_frame (format_ctx, -1, 10 * AV_TIME_BASE, 0);
-
-
-
- if (err >= 0)
- avcodec_flush_buffers (codec_ctx);
+ err = av_seek_frame (format_ctx, -1, 10 * AV_TIME_BASE, 0);
+
+
+ if (err >= 0)
+ avcodec_flush_buffers (codec_ctx);
- /**
- * Loop as long as we have input samples to read or output samples
- * to write; abort as soon as we have neither.
+ /**
+ * Loop as long as we have input samples to read or output samples
+ * to write; abort as soon as we have neither.
+ */
+ while (1) {
+ /** Use the encoder's desired frame size for processing. */
+ const int output_frame_size = output_codec_context->frame_size;
+ int finished = 0;
+
+ /**
+ * Make sure that there is one frame worth of samples in the FIFO
+ * buffer so that the encoder can do its work.
+ * Since the decoder's and the encoder's frame size may differ, we
+ * need to FIFO buffer to store as many frames worth of input samples
+ * that they make up at least one frame worth of output samples.
*/
- while (1) {
- /** Use the encoder's desired frame size for processing. */
- const int output_frame_size = output_codec_context->frame_size;
- int finished = 0;
- /**
- * Make sure that there is one frame worth of samples in the FIFO
- * buffer so that the encoder can do its work.
- * Since the decoder's and the encoder's frame size may differ, we
- * need to FIFO buffer to store as many frames worth of input samples
- * that they make up at least one frame worth of output samples.
- */
-
- while ((av_audio_fifo_size(fifo) < output_frame_size)) {
- /**
- * Decode one frame worth of audio samples, convert it to the
- * output sample format and put it into the FIFO buffer.
- */
-
-
- if (read_decode_convert_and_store(fifo, format_ctx,codec_ctx,
- output_codec_context,
- resample_context,audio_stream_index, &finished)){
-
- goto cleanup;
-
- }
+ while ((av_audio_fifo_size(fifo) < output_frame_size)) {
+ /**
+ * Decode one frame worth of audio samples, convert it to the
+ * output sample format and put it into the FIFO buffer.
+ */
- /**
- * If we are at the end of the input file, we continue
- * encoding the remaining audio samples to the output file.
- */
- if (finished)
- break;
- }
- /* Already over our limit*/
- if(totalSize >= MAX_SIZE)
- finished = 1;
-
-
- /**
- * If we have enough samples for the encoder, we encode them.
- * At the end of the file, we pass the remaining samples to
- * the encoder.
- */
+ if (read_decode_convert_and_store(fifo, format_ctx,codec_ctx,
+ output_codec_context,
+ resample_context,audio_stream_index, &finished)){
- while (av_audio_fifo_size(fifo) >= output_frame_size ||
- (finished && av_audio_fifo_size(fifo) > 0)){
- /**
- * Take one frame worth of audio samples from the FIFO buffer,
- * encode it and write it to the output file.
- */
+ goto cleanup;
-
- if (load_encode_and_write(fifo,output_format_context, output_codec_context))
- goto cleanup;
- }
- /**
- * If we are at the end of the input file and have encoded
- * all remaining samples, we can exit this loop and finish.
- */
- if (finished) {
- int data_written;
- /** Flush the encoder as it may have delayed frames. */
- do {
- encode_audio_frame(NULL, output_format_context, output_codec_context, &data_written);
- } while (data_written);
- break;
- }
+ }
+
+ /**
+ * If we are at the end of the input file, we continue
+ * encoding the remaining audio samples to the output file.
+ */
+ if (finished)
+ break;
}
- /** Write the trailer of the output file container. */
- if (write_output_file_trailer(output_format_context))
+ /* Already over our limit*/
+ if(totalSize >= MAX_SIZE)
+ finished = 1;
+
+
+ /**
+ * If we have enough samples for the encoder, we encode them.
+ * At the end of the file, we pass the remaining samples to
+ * the encoder.
+ */
+
+ while (av_audio_fifo_size(fifo) >= output_frame_size ||
+ (finished && av_audio_fifo_size(fifo) > 0)){
+ /**
+ * Take one frame worth of audio samples from the FIFO buffer,
+ * encode it and write it to the output file.
+ */
+
+
+ if (load_encode_and_write(fifo,output_format_context, output_codec_context))
goto cleanup;
-
-
- ec->proc (ec->cls,
- "previewopus",
- EXTRACTOR_METATYPE_AUDIO_PREVIEW,
- EXTRACTOR_METAFORMAT_BINARY,
- "audio/opus",
- buffer,
- totalSize);
-
-
+ }
+ /**
+ * If we are at the end of the input file and have encoded
+ * all remaining samples, we can exit this loop and finish.
+ */
+ if (finished) {
+ int data_written;
+ /** Flush the encoder as it may have delayed frames. */
+ do {
+ encode_audio_frame(NULL, output_format_context, output_codec_context, &data_written);
+ } while (data_written);
+ break;
+ }
+ }
+
+ /** Write the trailer of the output file container. */
+ if (write_output_file_trailer(output_format_context))
+ goto cleanup;
+
+
+ ec->proc (ec->cls,
+ "previewopus",
+ EXTRACTOR_METATYPE_AUDIO_PREVIEW,
+ EXTRACTOR_METAFORMAT_BINARY,
+ "audio/opus",
+ buffer,
+ totalSize);
+
+
#if OUTPUT_FILE
- FILE *f;
- f = fopen("example.opus", "wb");
+ {
+ FILE *f;
+
+ f = fopen("example.opus", "wb");
if (!f) {
- fprintf(stderr, "Could not open %s\n", "file");
- exit(1);
+ fprintf(stderr, "Could not open %s\n", "file");
+ exit(1);
}
-
- fwrite(buffer, 1, totalSize, f);
- fclose(f);
+ fwrite(buffer, 1, totalSize, f);
+ fclose(f);
+ }
#endif
-
- cleanup:
+ cleanup:
av_free (frame);
-
+
free(buffer);
-
- if (fifo)
- av_audio_fifo_free(fifo);
- if (resample_context) {
- avresample_close(resample_context);
- avresample_free(&resample_context);
- }
- if (output_codec_context)
- avcodec_close(output_codec_context);
-
- if (codec_ctx)
- avcodec_close(codec_ctx);
- if (format_ctx)
- avformat_close_input(&format_ctx);
- av_free (io_ctx);
-
-
+
+ if (fifo)
+ av_audio_fifo_free(fifo);
+ if (resample_context) {
+ avresample_close(resample_context);
+ avresample_free(&resample_context);
+ }
+ if (output_codec_context)
+ avcodec_close(output_codec_context);
+
+ if (codec_ctx)
+ avcodec_close(codec_ctx);
+ if (format_ctx)
+ avformat_close_input(&format_ctx);
+ av_free (io_ctx);
}
+
/**
* Main method for the opus-preview plugin.
*
* @param ec extraction context
*/
-void
+void
EXTRACTOR_previewopus_extract_method (struct EXTRACTOR_ExtractContext *ec)
{
ssize_t iret;
@@ -1160,7 +1157,6 @@ EXTRACTOR_previewopus_extract_method (struct EXTRACTOR_ExtractContext *ec)
}
-
/**
* Log callback. Does nothing.
*
@@ -1169,8 +1165,8 @@ EXTRACTOR_previewopus_extract_method (struct EXTRACTOR_ExtractContext *ec)
* @param format format string
* @param ap arguments for format
*/
-static void
-previewopus_av_log_callback (void* ptr,
+static void
+previewopus_av_log_callback (void* ptr,
int level,
const char *format,
va_list ap)
@@ -1184,7 +1180,7 @@ previewopus_av_log_callback (void* ptr,
/**
* Initialize av-libs
*/
-void __attribute__ ((constructor))
+void __attribute__ ((constructor))
previewopus_lib_init (void)
{
av_log_set_callback (&previewopus_av_log_callback);
@@ -1196,8 +1192,8 @@ previewopus_lib_init (void)
/**
* Destructor for the library, cleans up.
*/
-void __attribute__ ((destructor))
-previewopus_ltdl_fini ()
+void __attribute__ ((destructor))
+previewopus_ltdl_fini ()
{
}