pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libmp4v2 Fix format strings. Fix missing pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c10ca7b45ef
branches:  trunk
changeset: 368989:8c10ca7b45ef
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 25 22:30:06 2017 +0000

description:
Fix format strings. Fix missing prototypes. Fix missing return values.
Bump revision.

diffstat:

 multimedia/libmp4v2/Makefile                                    |    8 +-
 multimedia/libmp4v2/distinfo                                    |   57 +-
 multimedia/libmp4v2/patches/patch-lib_mp4_atom.c                |   29 +
 multimedia/libmp4v2/patches/patch-lib_mp4_ctab.c                |   13 +
 multimedia/libmp4v2/patches/patch-lib_mp4_ctts.c                |   73 +-
 multimedia/libmp4v2/patches/patch-lib_mp4_dimm.c                |   37 +
 multimedia/libmp4v2/patches/patch-lib_mp4_dinf.c                |   46 +
 multimedia/libmp4v2/patches/patch-lib_mp4_dmax.c                |   38 +
 multimedia/libmp4v2/patches/patch-lib_mp4_dmed.c                |   37 +
 multimedia/libmp4v2/patches/patch-lib_mp4_dref.c                |  109 ++
 multimedia/libmp4v2/patches/patch-lib_mp4_drep.c                |   37 +
 multimedia/libmp4v2/patches/patch-lib_mp4_edts.c                |   46 +
 multimedia/libmp4v2/patches/patch-lib_mp4_elst.c                |  105 ++
 multimedia/libmp4v2/patches/patch-lib_mp4_esds.c                |   46 +
 multimedia/libmp4v2/patches/patch-lib_mp4_funcprotos.h          |  445 +++++++++-
 multimedia/libmp4v2/patches/patch-lib_mp4_gmhd.c                |   41 +
 multimedia/libmp4v2/patches/patch-lib_mp4_gmin.c                |   49 +
 multimedia/libmp4v2/patches/patch-lib_mp4_hdlr.c                |   84 +
 multimedia/libmp4v2/patches/patch-lib_mp4_hinf.c                |   57 +
 multimedia/libmp4v2/patches/patch-lib_mp4_hint.c                |   59 +
 multimedia/libmp4v2/patches/patch-lib_mp4_hmhd.c                |   53 +
 multimedia/libmp4v2/patches/patch-lib_mp4_iods.c                |   53 +
 multimedia/libmp4v2/patches/patch-lib_mp4_matrix.c              |   45 +
 multimedia/libmp4v2/patches/patch-lib_mp4_maxr.c                |   42 +
 multimedia/libmp4v2/patches/patch-lib_mp4_mdat.c                |   32 +
 multimedia/libmp4v2/patches/patch-lib_mp4_mdhd.c                |   81 +
 multimedia/libmp4v2/patches/patch-lib_mp4_mdia.c                |   65 +
 multimedia/libmp4v2/patches/patch-lib_mp4_minf.c                |   76 +
 multimedia/libmp4v2/patches/patch-lib_mp4_moov.c                |   31 +
 multimedia/libmp4v2/patches/patch-lib_mp4_mvhd.c                |   39 +
 multimedia/libmp4v2/patches/patch-lib_mp4_nump.c                |   37 +
 multimedia/libmp4v2/patches/patch-lib_mp4_payt.c                |   41 +
 multimedia/libmp4v2/patches/patch-lib_mp4_pmax.c                |   38 +
 multimedia/libmp4v2/patches/patch-lib_mp4_quicktime.c           |  101 ++
 multimedia/libmp4v2/patches/patch-lib_mp4_quicktime.h           |   82 +
 multimedia/libmp4v2/patches/patch-lib_mp4_rtphint.c             |   22 +
 multimedia/libmp4v2/patches/patch-lib_mp4_smhd.c                |   47 +
 multimedia/libmp4v2/patches/patch-lib_mp4_stbl.c                |   66 +
 multimedia/libmp4v2/patches/patch-lib_mp4_stco.c                |   74 +
 multimedia/libmp4v2/patches/patch-lib_mp4_stsc.c                |   83 +
 multimedia/libmp4v2/patches/patch-lib_mp4_stsd.c                |   92 ++
 multimedia/libmp4v2/patches/patch-lib_mp4_stsdtable.c           |  182 ++++
 multimedia/libmp4v2/patches/patch-lib_mp4_stss.c                |   74 +
 multimedia/libmp4v2/patches/patch-lib_mp4_stsz.c                |   89 ++
 multimedia/libmp4v2/patches/patch-lib_mp4_stts.c                |   99 ++
 multimedia/libmp4v2/patches/patch-lib_mp4_tkhd.c                |   80 +
 multimedia/libmp4v2/patches/patch-lib_mp4_tmax.c                |   38 +
 multimedia/libmp4v2/patches/patch-lib_mp4_tmin.c                |   38 +
 multimedia/libmp4v2/patches/patch-lib_mp4_tpyl.c                |   37 +
 multimedia/libmp4v2/patches/patch-lib_mp4_trpy.c                |   37 +
 multimedia/libmp4v2/patches/patch-lib_mp4_udta.c                |   57 +-
 multimedia/libmp4v2/patches/patch-lib_mp4_util.c                |   49 +
 multimedia/libmp4v2/patches/patch-lib_mp4_vmhd.c                |   56 +
 multimedia/libmp4v2/patches/patch-server_util_avidump_avidump.c |   13 +
 54 files changed, 3451 insertions(+), 14 deletions(-)

diffs (truncated from 3750 to 300 lines):

diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/Makefile
--- a/multimedia/libmp4v2/Makefile      Mon Sep 25 22:29:06 2017 +0000
+++ b/multimedia/libmp4v2/Makefile      Mon Sep 25 22:30:06 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2017/05/06 18:12:00 maya Exp $
+# $NetBSD: Makefile,v 1.18 2017/09/25 22:30:06 joerg Exp $
 
 DISTNAME=              mpeg4ip-1.6.1
 PKGNAME=               libmp4v2-1.6.1
-PKGREVISION=           5
+PKGREVISION=           6
 CATEGORIES=            multimedia
 # distfile at sf is corrupt
 #MASTER_SITES=         ${MASTER_SITE_SOURCEFORGE:=mpeg4ip/}
@@ -27,10 +27,6 @@
 # to install mp4* tools
 BUILD_DIRS=            . lib/mp4v2/util
 
-CFLAGS+=               -std=gnu89
-BUILDLINK_TRANSFORM+=  rm:-Werror
-BUILDLINK_TRANSFORM+=  rm:-fpermissive
-
 # lowercase min,max cannot be used as macros, conflicts with libstdc++6
 SUBST_CLASSES+=                minmax
 SUBST_STAGE.minmax=    post-patch
diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/distinfo
--- a/multimedia/libmp4v2/distinfo      Mon Sep 25 22:29:06 2017 +0000
+++ b/multimedia/libmp4v2/distinfo      Mon Sep 25 22:30:06 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2017/05/16 09:25:10 jperkin Exp $
+$NetBSD: distinfo,v 1.17 2017/09/25 22:30:06 joerg Exp $
 
 SHA1 (mpeg4ip-1.6.1.tar.gz) = 2af97fc0da6a5c0bcb7b433c6715967487b80e38
 RMD160 (mpeg4ip-1.6.1.tar.gz) = ee8375d9581cccbbf685f730bb36f3866eaf12f7
@@ -28,15 +28,63 @@
 SHA1 (patch-common_video_iso-mpeg4_include_basic.hpp) = 457aa492ef05abf0af8a17fea202ae18c28f1cc3
 SHA1 (patch-common_video_iso-mpeg4_src_type__basic.cpp) = 01f8b446af8cd7f012d2837bdbb13d13e4e6ac93
 SHA1 (patch-doc_mp4v2_MP4.3) = e799c63f63cdb1d360077b6f1410a081c1a49c5a
-SHA1 (patch-lib_mp4_ctts.c) = c4d9b1df5b5940e4a0fbed37c0b52d330db9b310
-SHA1 (patch-lib_mp4_funcprotos.h) = 4a6ae557af14ca352bf8b712e52f91243a5f2ed4
+SHA1 (patch-lib_mp4_atom.c) = 31e691f5f8bf8e7cf40ac2c55d61be1e5265ac2e
+SHA1 (patch-lib_mp4_ctab.c) = 334ee9a4d85705cb5fb029fd6925113328066b88
+SHA1 (patch-lib_mp4_ctts.c) = 0d4ac3bfa577859488af3e271593cf2f166646bb
+SHA1 (patch-lib_mp4_dimm.c) = 7f979d27d4c1b665746a716177afcd4dd81b28b4
+SHA1 (patch-lib_mp4_dinf.c) = b93b807df312400992432817ef4fdf3feab17f06
+SHA1 (patch-lib_mp4_dmax.c) = e9590efb35150afb43087fc2615393bd03a38db5
+SHA1 (patch-lib_mp4_dmed.c) = 6beea57b94b5ff78e6f498caf5de509a40f9ca5c
+SHA1 (patch-lib_mp4_dref.c) = 6cb51d22e6e69d126cdcccf11a7723fd1fd41b80
+SHA1 (patch-lib_mp4_drep.c) = 965f45241ff79d14e290b9edb686484dabc4ad8c
+SHA1 (patch-lib_mp4_edts.c) = 3ad554b6f85e9ddf82cb906a53ac90c74936bfe4
+SHA1 (patch-lib_mp4_elst.c) = d31b88b0c3779fccdd5627e7b977b65c062c4bb4
+SHA1 (patch-lib_mp4_esds.c) = 41b3083c64fc5c47d541406e179158044ca95c42
+SHA1 (patch-lib_mp4_funcprotos.h) = f20ce278c1a5e0e10824cd7433e525c4bbf1dc03
+SHA1 (patch-lib_mp4_gmhd.c) = f9c754959d3ec5ddab5d7423e17bb038eb131719
+SHA1 (patch-lib_mp4_gmin.c) = 5d3c2065479e7b1428742961acbfd858313cc4d8
+SHA1 (patch-lib_mp4_hdlr.c) = f7f5c7985a5275995ae05d8db9120a1841b58668
+SHA1 (patch-lib_mp4_hinf.c) = f7a112af971ae6b8042be5e75ea263745211c164
+SHA1 (patch-lib_mp4_hint.c) = 5e05bc75122e285414bc8885fc92614ece2e2366
 SHA1 (patch-lib_mp4_hinthnti.c) = bbb4f2f7e0b3401668f756252b91109f47382cbf
 SHA1 (patch-lib_mp4_hintudta.c) = d567138632559d1dd9311a2868ebc29416be918b
+SHA1 (patch-lib_mp4_hmhd.c) = 509b297a7f36dc5a835a733b7c50572ef1ad6fd2
 SHA1 (patch-lib_mp4_hnti.c) = 21b1abf140368a8ff48b656e5b7c1297e95ac1c9
+SHA1 (patch-lib_mp4_iods.c) = 48623d6f6e0e31498e30b155a4dbcd874da56c4a
+SHA1 (patch-lib_mp4_matrix.c) = 17da1f646b8323529004488afb35c7abec3dcd25
+SHA1 (patch-lib_mp4_maxr.c) = 96b15bd7aa36ff74f146ac583d073b855cbe3da7
+SHA1 (patch-lib_mp4_mdat.c) = 58008a9c51dcf5928758a62b91cfb29402aa0aae
+SHA1 (patch-lib_mp4_mdhd.c) = dc49504b2fc144aa755b3dd2a07d5646952a1a40
+SHA1 (patch-lib_mp4_mdia.c) = f4b34690f87f8d100ef5fc50b84a0c8886c06c15
+SHA1 (patch-lib_mp4_minf.c) = 9e8acadfac14773e18f2db2041ceb78b8ed85d2c
+SHA1 (patch-lib_mp4_moov.c) = 2ea18f6e9a60aedde0a1ec71f1bb1d4279469cdd
+SHA1 (patch-lib_mp4_mvhd.c) = 09245bd5f142b14fdc919e08495969bb3c6d15af
+SHA1 (patch-lib_mp4_nump.c) = 126498cc46928290bb204a2496e6b9f98ba51a8b
+SHA1 (patch-lib_mp4_payt.c) = 33859a4f5b428015c5a9fbcc6964b6b913458001
+SHA1 (patch-lib_mp4_pmax.c) = bb1f45b7117d34e5a2452a4b32aa003a2b2ebd37
+SHA1 (patch-lib_mp4_quicktime.c) = 239155d77ba89016de44d96685eca8b5092f06ec
+SHA1 (patch-lib_mp4_quicktime.h) = d5ee21997203021cfda39826f19c6e0073c858d7
 SHA1 (patch-lib_mp4_rtp.c) = 903209c21444a788583be1fa27393c909fbbf65c
+SHA1 (patch-lib_mp4_rtphint.c) = fb85fcfeba1a56cd99561a2987554db9d8dc692a
 SHA1 (patch-lib_mp4_sdp.c) = 9c9e18d84d151ca632c25c9aa52685d476e6435f
+SHA1 (patch-lib_mp4_smhd.c) = dfbc4f1f49522664af4f3133593dd7363e1a2918
+SHA1 (patch-lib_mp4_stbl.c) = 86116139b582d03c5ceb2d7b811758868cd89def
+SHA1 (patch-lib_mp4_stco.c) = ef5fcd396553d4f0312554d5a0f7c5581e6fa2fd
+SHA1 (patch-lib_mp4_stsc.c) = d1eb81a5d20998f3c3a303206417a3f4eb6dd20e
+SHA1 (patch-lib_mp4_stsd.c) = 6b0b828957cc1f9e7d75aaefccb913992679e438
+SHA1 (patch-lib_mp4_stsdtable.c) = c70448586a31a5531d8f229cc8e1e7d3889ee259
+SHA1 (patch-lib_mp4_stss.c) = 7dda65fe7038bed8e83e34d395f7afd3b5e374fc
+SHA1 (patch-lib_mp4_stsz.c) = 49340d305f77b32e9e3eeee679d7cb2bdd840758
+SHA1 (patch-lib_mp4_stts.c) = 3c5fe9a7ecb17e12173fb533e28c23bced6cd52b
+SHA1 (patch-lib_mp4_tkhd.c) = 1edecbcc517ae87b64beff03ae2472d569dddee4
+SHA1 (patch-lib_mp4_tmax.c) = 54453885de8a6beaab51cfba891a0f5fd5fa39e2
+SHA1 (patch-lib_mp4_tmin.c) = 69a78b475a60b618fd0f18abbfc89218ed83c312
+SHA1 (patch-lib_mp4_tpyl.c) = c3b9c97195152672c6a10e08b00d8ba9c8437098
 SHA1 (patch-lib_mp4_tref.c) = c67a0a7b6fb5079736ef8f5e5aaa3628badecfdd
-SHA1 (patch-lib_mp4_udta.c) = af025f404668d1bc02861620b79d6a56fbe18295
+SHA1 (patch-lib_mp4_trpy.c) = dcc972c9531a9a0747c49a55c906e801c89860cc
+SHA1 (patch-lib_mp4_udta.c) = 5823e5565a62b5971ffb672022ddee2bf5e46d22
+SHA1 (patch-lib_mp4_util.c) = b91ad65df67777501cc9630759e603debbeb3abe
+SHA1 (patch-lib_mp4_vmhd.c) = 79035ada521e970b460a6ffffc77ee8f7b62707f
 SHA1 (patch-lib_mp4v2_atom__standard.cpp) = 27a2bac270ac4a1fd5169d89d312690a4dcb58ab
 SHA1 (patch-lib_mp4v2_mp4atom.cpp) = ad0a1006293d8bea250de695919d8cdc59a7a4fa
 SHA1 (patch-lib_rtp_net__udp.c) = 3250d0ebcc0899ec4521eb20bc83f6e8a8bce3c9
@@ -45,3 +93,4 @@
 SHA1 (patch-player_lib_audio_faad_huffdec.c) = 1106e902c3fe95cb76009613ae6641339580adac
 SHA1 (patch-player_lib_audio_faad_monopred.c) = 0833f17e10f91b69c63c896c15e98471c62f3025
 SHA1 (patch-player_src_media__utils.cpp) = d11bcfe9ade690e14686e1091b7f5c834068cd3c
+SHA1 (patch-server_util_avidump_avidump.c) = 44325969ea8f4cee92c6a384f78be6165ef536f4
diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/patches/patch-lib_mp4_atom.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmp4v2/patches/patch-lib_mp4_atom.c  Mon Sep 25 22:30:06 2017 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-lib_mp4_atom.c,v 1.1 2017/09/25 22:30:06 joerg Exp $
+
+--- lib/mp4/atom.c.orig        2017-09-25 14:43:07.119068459 +0000
++++ lib/mp4/atom.c
+@@ -1,5 +1,7 @@
+ #include "quicktime.h"
+ 
++int quicktime_atom_read_type(char *data, char *type);
++
+ 
+ int quicktime_atom_reset(quicktime_atom_t *atom)
+ {
+@@ -60,14 +62,14 @@ int quicktime_atom_read_header(quicktime
+       return result;
+ }
+ 
+-int quicktime_atom_write_header(quicktime_t *file, quicktime_atom_t *atom, char *text)
++void quicktime_atom_write_header(quicktime_t *file, quicktime_atom_t *atom, char *text)
+ {
+       atom->start = quicktime_position(file);
+       quicktime_write_int32(file, 0);
+       quicktime_write_char32(file, text);
+ }
+ 
+-int quicktime_atom_write_footer(quicktime_t *file, quicktime_atom_t *atom)
++void quicktime_atom_write_footer(quicktime_t *file, quicktime_atom_t *atom)
+ {
+       atom->end = quicktime_position(file);
+       quicktime_set_position(file, atom->start);
diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/patches/patch-lib_mp4_ctab.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmp4v2/patches/patch-lib_mp4_ctab.c  Mon Sep 25 22:30:06 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_mp4_ctab.c,v 1.1 2017/09/25 22:30:06 joerg Exp $
+
+--- lib/mp4/ctab.c.orig        2017-09-25 14:45:45.288644518 +0000
++++ lib/mp4/ctab.c
+@@ -22,7 +22,7 @@ int quicktime_ctab_delete(quicktime_ctab
+       return 0;
+ }
+ 
+-int quicktime_ctab_dump(quicktime_ctab_t *ctab)
++void quicktime_ctab_dump(quicktime_ctab_t *ctab)
+ {
+       int i;
+       printf(" color table\n");
diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/patches/patch-lib_mp4_ctts.c
--- a/multimedia/libmp4v2/patches/patch-lib_mp4_ctts.c  Mon Sep 25 22:29:06 2017 +0000
+++ b/multimedia/libmp4v2/patches/patch-lib_mp4_ctts.c  Mon Sep 25 22:30:06 2017 +0000
@@ -1,9 +1,71 @@
-$NetBSD: patch-lib_mp4_ctts.c,v 1.1 2017/05/06 18:12:00 maya Exp $
+$NetBSD: patch-lib_mp4_ctts.c,v 1.2 2017/09/25 22:30:06 joerg Exp $
 
 Fix return type. we're not returning anything.
 
 --- lib/mp4/ctts.c.orig        2001-08-01 00:34:00.000000000 +0000
 +++ lib/mp4/ctts.c
+@@ -22,7 +22,7 @@
+ #include "quicktime.h"
+ 
+ 
+-int quicktime_ctts_init(quicktime_ctts_t *ctts)
++void quicktime_ctts_init(quicktime_ctts_t *ctts)
+ {
+       ctts->version = 0;
+       ctts->flags = 0;
+@@ -30,7 +30,7 @@ int quicktime_ctts_init(quicktime_ctts_t
+       ctts->entries_allocated = 0;
+ }
+ 
+-int quicktime_ctts_init_table(quicktime_ctts_t *ctts)
++void quicktime_ctts_init_table(quicktime_ctts_t *ctts)
+ {
+       if (!ctts->entries_allocated) {
+               ctts->entries_allocated = 1;
+@@ -40,7 +40,7 @@ int quicktime_ctts_init_table(quicktime_
+       }
+ }
+ 
+-int quicktime_ctts_init_common(quicktime_t *file, quicktime_ctts_t *ctts)
++void quicktime_ctts_init_common(quicktime_t *file, quicktime_ctts_t *ctts)
+ {
+       quicktime_ctts_table_t *table;
+       quicktime_ctts_init_table(ctts);
+@@ -50,7 +50,7 @@ int quicktime_ctts_init_common(quicktime
+       table->sample_offset = 0;
+ }
+ 
+-int quicktime_ctts_delete(quicktime_ctts_t *ctts)
++void quicktime_ctts_delete(quicktime_ctts_t *ctts)
+ {
+       if (ctts->total_entries) {
+               free(ctts->table);
+@@ -58,13 +58,13 @@ int quicktime_ctts_delete(quicktime_ctts
+       ctts->total_entries = 0;
+ }
+ 
+-int quicktime_ctts_dump(quicktime_ctts_t *ctts)
++void quicktime_ctts_dump(quicktime_ctts_t *ctts)
+ {
+       int i;
+       printf("     composition time to sample\n");
+       printf("      version %d\n", ctts->version);
+-      printf("      flags %d\n", ctts->flags);
+-      printf("      total_entries %d\n", ctts->total_entries);
++      printf("      flags %ld\n", ctts->flags);
++      printf("      total_entries %ld\n", ctts->total_entries);
+       for(i = 0; i < ctts->total_entries; i++) {
+               printf("       count %ld offset %ld\n", 
+                       ctts->table[i].sample_count,
+@@ -72,7 +72,7 @@ int quicktime_ctts_dump(quicktime_ctts_t
+       }
+ }
+ 
+-int quicktime_read_ctts(quicktime_t *file, quicktime_ctts_t *ctts)
++void quicktime_read_ctts(quicktime_t *file, quicktime_ctts_t *ctts)
+ {
+       int i;
+       ctts->version = quicktime_read_char(file);
 @@ -88,7 +88,7 @@ int quicktime_read_ctts(quicktime_t *fil
        }
  }
@@ -13,3 +75,12 @@
  {
        int i;
        quicktime_atom_t atom;
+@@ -113,7 +113,7 @@ int quicktime_write_ctts(quicktime_t *fi
+       quicktime_atom_write_footer(file, &atom);
+ }
+ 
+-int quicktime_update_ctts(quicktime_ctts_t *ctts, long sample_offset)
++void quicktime_update_ctts(quicktime_ctts_t *ctts, long sample_offset)
+ {
+       if (sample_offset == ctts->table[ctts->total_entries-1].sample_offset) {
+               ctts->table[ctts->total_entries-1].sample_count++;
diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/patches/patch-lib_mp4_dimm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmp4v2/patches/patch-lib_mp4_dimm.c  Mon Sep 25 22:30:06 2017 +0000
@@ -0,0 +1,37 @@
+$NetBSD: patch-lib_mp4_dimm.c,v 1.1 2017/09/25 22:30:06 joerg Exp $
+
+--- lib/mp4/dimm.c.orig        2017-09-25 14:47:23.811471892 +0000
++++ lib/mp4/dimm.c
+@@ -22,27 +22,27 @@
+ #include "quicktime.h"
+ 
+ 
+-int quicktime_dimm_init(quicktime_dimm_t *dimm)
++void quicktime_dimm_init(quicktime_dimm_t *dimm)
+ {
+       dimm->numBytes = 0;
+ }
+ 
+-int quicktime_dimm_delete(quicktime_dimm_t *dimm)
++void quicktime_dimm_delete(quicktime_dimm_t *dimm)
+ {
+ }
+ 
+-int quicktime_dimm_dump(quicktime_dimm_t *dimm)
++void quicktime_dimm_dump(quicktime_dimm_t *dimm)
+ {
+       printf("    total immediate bytes\n");
+       printf("     numBytes "U64"\n", dimm->numBytes);
+ }
+ 
+-int quicktime_read_dimm(quicktime_t *file, quicktime_dimm_t *dimm)
++void quicktime_read_dimm(quicktime_t *file, quicktime_dimm_t *dimm)
+ {
+       dimm->numBytes = quicktime_read_int64(file);
+ }
+ 
+-int quicktime_write_dimm(quicktime_t *file, quicktime_dimm_t *dimm)
++void quicktime_write_dimm(quicktime_t *file, quicktime_dimm_t *dimm)
+ {
+       quicktime_atom_t atom;
+ 
diff -r 6bf673da513f -r 8c10ca7b45ef multimedia/libmp4v2/patches/patch-lib_mp4_dinf.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/libmp4v2/patches/patch-lib_mp4_dinf.c  Mon Sep 25 22:30:06 2017 +0000
@@ -0,0 +1,46 @@
+$NetBSD: patch-lib_mp4_dinf.c,v 1.1 2017/09/25 22:30:06 joerg Exp $
+
+--- lib/mp4/dinf.c.orig        2017-09-25 14:47:48.241855167 +0000
++++ lib/mp4/dinf.c
+@@ -1,27 +1,27 @@
+ #include "quicktime.h"
+ 
+-int quicktime_dinf_init(quicktime_dinf_t *dinf)
++void quicktime_dinf_init(quicktime_dinf_t *dinf)
+ {



Home | Main Index | Thread Index | Old Index