Kyle Robbertze pushed to branch upstream at Debian OCaml Maintainers / ocaml-ogg
Commits:
-
2487ec91
by Kyle Robbertze at 2022-07-12T20:13:21+02:00
4 changed files:
Changes:
1 | +0.7.2 (28-06-2022)
|
|
2 | +=====
|
|
3 | +* Use `caml_alloc_custom_mem` for packet allocations (#2348)
|
|
4 | + |
|
1 | 5 | 0.7.1 (07-03-2022)
|
2 | 6 | =====
|
3 | 7 | * Added decoder API for audio big array.
|
1 | 1 | (lang dune 2.8)
|
2 | -(version 0.7.1)
|
|
2 | +(version 0.7.2)
|
|
3 | 3 | (name ogg)
|
4 | 4 | (source (github savonet/ocaml-ogg))
|
5 | 5 | (license GPL-2.0)
|
1 | 1 | # This file is generated by dune, edit dune-project instead
|
2 | 2 | opam-version: "2.0"
|
3 | -version: "0.7.1"
|
|
3 | +version: "0.7.2"
|
|
4 | 4 | synopsis: "Bindings to libogg"
|
5 | 5 | maintainer: ["The Savonet Team <savonet-users@lists.sourceforge.net>"]
|
6 | 6 | authors: ["The Savonet Team <savonet-users@lists.sourceforge.net>"]
|
... | ... | @@ -258,7 +258,7 @@ static struct custom_operations packet_ops = { |
258 | 258 | value value_of_packet(ogg_packet *op) {
|
259 | 259 | CAMLparam0();
|
260 | 260 | CAMLlocal1(packet);
|
261 | - packet = caml_alloc_custom(&packet_ops, sizeof(ogg_packet *), 1, 0);
|
|
261 | + packet = caml_alloc_custom_mem(&packet_ops, sizeof(ogg_packet *), op->bytes);
|
|
262 | 262 | Packet_val(packet) = copy_packet(op);
|
263 | 263 | CAMLreturn(packet);
|
264 | 264 | }
|