search for: oe_enc_opt

Displaying 8 results from an estimated 8 matches for "oe_enc_opt".

2015 Feb 19
0
[PATCH] oggenc: validate count of channels in the header
...io.c b/oggenc/audio.c index 477da8c..1167f1b 100644 --- a/oggenc/audio.c +++ b/oggenc/audio.c @@ -13,6 +13,7 @@ #include <config.h> #endif +#include <limits.h> #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -251,6 +252,7 @@ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) aiff_fmt format; aifffile *aiff = malloc(sizeof(aifffile)); int i; + long channels; if(buf[11]=='C') aifc=1; @@ -277,11 +279,17 @@ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) return...
2015 Oct 08
2
[PATCH 0/1] opusenc support for WavPack input
This patch to opus-tools adds optional support to WavPack lossless format as input to opusenc. Like support to FLAC, it depends on an external library, libwavpack, and may be disabled on configure. Lucas Clemente Vella (1): Reading input from WavPack files. Makefile.am | 7 +- configure.ac | 37 ++++++++ src/audio-in.c | 71 ++++++++------- src/opusenc.c | 19 +++- src/opusenc.h
2007 Feb 22
13
5.1 surround channel coupling
>Yesterday I have finished writing the ambisonic pan filter for oggenc. May I ask what this "pan filter" is? I made some tentative suggestions for coupling Ambisonic B-format in a post "Vorbis Ambisonic coupling" on 4feb07 I gather from the last monthly meeting, that some of you, including Monty, had problems with the phase behaviour of B-format. Would anyone like a
2015 Feb 04
0
[PATCH] oggenc: Fix crash by invalid channels in WAV files
Fix the crash of oggenc when parsing a WAV file including zero or a negative number of channels. Fixes for both CVE-2014-9638 and CVE-2014-9639 --- oggenc/audio.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/oggenc/audio.c +++ b/oggenc/audio.c @@ -455,6 +455,12 @@ int wav_open(FILE *in, oe_enc_opt *opt, format.align = READ_U16_LE(buf+12); format.samplesize = READ_U16_LE(buf+14); + if(format.channels <= 0) + { + fprintf(stderr,"ERROR: Invalid number of channels (%d) found in WAV file\n", format.channels); + return 0; + } + if(format.form...
2006 Jul 19
0
Skeleton output support in oggenc
...upport skeleton output in oggenc. The feature is disabled by default and can be enabled by using either -k or --skeleton switch. You can find the patch attached with the following ticket http://trac.xiph.org/ticket/1008 MikeS or anyone with detail knowledge of oggenc. I changed the oe_options and oe_enc_options data structure. Let me know if there's a problem with that. Also you may try checking if the serialno for skeleton bitstreams are handled properly if multiple files are given in the input. I think I handled it properly but just in case :) I am using a very simple API for generating skeleto...
2018 Sep 16
1
[PATCH] Support for Ambisonics
...attempt to use > mapping family 0 but that is only valid for mono and stereo. > > In this patch, an additional use_permute argument is added to a number > of functions that indicates whether to perform channel permutation. > It would be preferable to simply add this as a field in the oe_enc_opt > structure, which is already an argument and already contains other > options like this. When I brought this up in the past you made a > patch that did that, however your latest patches are still using the > additional argument. Can you please drop the additional argument and > in...
2018 Jul 30
2
Fwd: [PATCH] Support for Ambisonics
Friendly ping for the opus-tools patch... ---------- Forwarded message --------- From: Drew Allen <bitllama at google.com> Date: Mon, Mar 19, 2018 at 2:53 PM Subject: Re: [PATCH] Support for Ambisonics To: opus at xiph.org <opus at xiph.org> On Mon, Mar 19, 2018 at 11:52 AM Drew Allen <bitllama at google.com> wrote: > Hello all, > > Sorry for the delay (got really
2018 Sep 06
0
[PATCH] Support for Ambisonics
...an 8 channels. It will attempt to use mapping family 0 but that is only valid for mono and stereo. In this patch, an additional use_permute argument is added to a number of functions that indicates whether to perform channel permutation. It would be preferable to simply add this as a field in the oe_enc_opt structure, which is already an argument and already contains other options like this. When I brought this up in the past you made a patch that did that, however your latest patches are still using the additional argument. Can you please drop the additional argument and incorporate your earlier pa...