]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoqdm2: remove unneeded checks for channel count
Justin Ruggles [Mon, 22 Oct 2012 22:54:29 +0000 (18:54 -0400)]
qdm2: remove unneeded checks for channel count

11 years agoqdm2: make sure channels is not <= 0 and set channel layout
Justin Ruggles [Mon, 22 Oct 2012 22:53:19 +0000 (18:53 -0400)]
qdm2: make sure channels is not <= 0 and set channel layout

11 years agoqcelpdec: set channel layout
Justin Ruggles [Mon, 22 Oct 2012 22:25:46 +0000 (18:25 -0400)]
qcelpdec: set channel layout

11 years agonellymoserdec: set channels to 1
Justin Ruggles [Mon, 22 Oct 2012 21:58:24 +0000 (17:58 -0400)]
nellymoserdec: set channels to 1

11 years agolibopencore-amr: set channel layout for amr-nb or if not set by the user
Justin Ruggles [Mon, 22 Oct 2012 21:49:59 +0000 (17:49 -0400)]
libopencore-amr: set channel layout for amr-nb or if not set by the user

11 years agolibilbc: set channel layout
Justin Ruggles [Mon, 22 Oct 2012 21:41:47 +0000 (17:41 -0400)]
libilbc: set channel layout

11 years agodpcm: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Mon, 22 Oct 2012 20:03:20 +0000 (16:03 -0400)]
dpcm: use AVCodecContext.channels instead of keeping a private copy

11 years agoimc: set channels to 1 instead of validating it
Justin Ruggles [Mon, 22 Oct 2012 19:54:29 +0000 (15:54 -0400)]
imc: set channels to 1 instead of validating it

11 years agogsmdec: always set channel layout and sample rate at initialization
Justin Ruggles [Mon, 22 Oct 2012 19:45:38 +0000 (15:45 -0400)]
gsmdec: always set channel layout and sample rate at initialization

Only mono 8kHz is supported.

11 years agolibgsmdec: always set channel layout and sample rate at initialization
Justin Ruggles [Mon, 22 Oct 2012 19:43:59 +0000 (15:43 -0400)]
libgsmdec: always set channel layout and sample rate at initialization

Only mono 8kHz is supported.

11 years agog726dec: do not validate sample rate
Justin Ruggles [Mon, 22 Oct 2012 17:26:46 +0000 (13:26 -0400)]
g726dec: do not validate sample rate

For decoding it does not really matter what the sample rate is.

11 years agog726dec: set channel layout at initialization instead of validating it
Justin Ruggles [Mon, 22 Oct 2012 17:26:14 +0000 (13:26 -0400)]
g726dec: set channel layout at initialization instead of validating it

11 years agoflacdec: do not warn on sample rate change
Justin Ruggles [Sun, 21 Oct 2012 21:04:58 +0000 (17:04 -0400)]
flacdec: do not warn on sample rate change

11 years agoflacdec: allow mid-stream channel layout change
Justin Ruggles [Sun, 21 Oct 2012 21:02:28 +0000 (17:02 -0400)]
flacdec: allow mid-stream channel layout change

Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.

11 years agoflacdec: use av_samples_* functions for sample buffer allocation
Justin Ruggles [Sun, 21 Oct 2012 20:15:34 +0000 (16:15 -0400)]
flacdec: use av_samples_* functions for sample buffer allocation

Also, return an error on allocation failure.

11 years agodcadec: allow the decoder to change the channel layout mid-stream
Justin Ruggles [Sun, 21 Oct 2012 19:12:36 +0000 (15:12 -0400)]
dcadec: allow the decoder to change the channel layout mid-stream

11 years agocook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR
Justin Ruggles [Sun, 21 Oct 2012 18:47:10 +0000 (14:47 -0400)]
cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR

11 years agocook: move samples_per_frame from COOKSubpacket to where it is used
Justin Ruggles [Sun, 21 Oct 2012 18:43:02 +0000 (14:43 -0400)]
cook: move samples_per_frame from COOKSubpacket to where it is used

11 years agocook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()
Justin Ruggles [Sun, 21 Oct 2012 18:36:38 +0000 (14:36 -0400)]
cook: use av_get_channel_layout_nb_channels() instead of cook_count_channels()

11 years agocook: reverse a condition so that the code makes more sense
Justin Ruggles [Sun, 21 Oct 2012 18:33:11 +0000 (14:33 -0400)]
cook: reverse a condition so that the code makes more sense

11 years agocook: remove unneeded COOKContext variable, sample_rate
Justin Ruggles [Sun, 21 Oct 2012 18:26:29 +0000 (14:26 -0400)]
cook: remove unneeded COOKContext variable, sample_rate

11 years agocook: remove unneeded COOKContext variable, bit_rate
Justin Ruggles [Sun, 21 Oct 2012 18:25:18 +0000 (14:25 -0400)]
cook: remove unneeded COOKContext variable, bit_rate

11 years agocook: use AVCodecContext.channels instead of keeping a private copy
Justin Ruggles [Sun, 21 Oct 2012 18:24:04 +0000 (14:24 -0400)]
cook: use AVCodecContext.channels instead of keeping a private copy

11 years agobmvaudio: set channel layout at init() rather than validating it
Justin Ruggles [Sun, 21 Oct 2012 17:48:50 +0000 (13:48 -0400)]
bmvaudio: set channel layout at init() rather than validating it

11 years agoatrac1: do not keep a copy of channel count in the private context
Justin Ruggles [Wed, 17 Oct 2012 15:45:49 +0000 (11:45 -0400)]
atrac1: do not keep a copy of channel count in the private context

11 years agodsicinaudio: set channels and channel layout
Justin Ruggles [Wed, 17 Oct 2012 15:29:04 +0000 (11:29 -0400)]
dsicinaudio: set channels and channel layout

11 years agog722dec: set channel layout at initialization instead of validating it
Justin Ruggles [Mon, 15 Oct 2012 20:40:44 +0000 (16:40 -0400)]
g722dec: set channel layout at initialization instead of validating it

11 years agoamrwbdec: set channels, channel_layout, and sample_rate
Justin Ruggles [Mon, 8 Oct 2012 01:19:28 +0000 (21:19 -0400)]
amrwbdec: set channels, channel_layout, and sample_rate

Only mono 16kHz is supported.

11 years agoamrnbdec: set channels, channel_layout, and sample_rate
Justin Ruggles [Mon, 8 Oct 2012 01:17:45 +0000 (21:17 -0400)]
amrnbdec: set channels, channel_layout, and sample_rate

Only mono 8kHz is supported.

11 years agodca_parser: allow the parser to change the sample rate
Justin Ruggles [Mon, 8 Oct 2012 00:52:35 +0000 (20:52 -0400)]
dca_parser: allow the parser to change the sample rate

11 years agolavc: check channel count after decoder init
Justin Ruggles [Tue, 23 Oct 2012 04:56:00 +0000 (00:56 -0400)]
lavc: check channel count after decoder init

Ensures the decoder did not set channel count to an insanely high value
during initialization, which could cause large memory usage when it tries to
get a buffer during decoding.

11 years agolavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders
Justin Ruggles [Mon, 22 Oct 2012 17:40:10 +0000 (13:40 -0400)]
lavc: move SANE_NB_CHANNELS to internal.h and use it in the PCM decoders

11 years agofate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV
Janne Grunau [Wed, 31 Oct 2012 18:56:02 +0000 (19:56 +0100)]
fate: add ac3/eac3 tests to FATE_SAMPLES_AVCONV

Fixes typo in 2cbdd7c92958cb8226491d8eb23ed2d57d4b841e.

11 years agoavconv_opt, cmdutils: Add missing function parameter Doxygen
Diego Biurrun [Wed, 24 Oct 2012 17:20:13 +0000 (19:20 +0200)]
avconv_opt, cmdutils: Add missing function parameter Doxygen

11 years agox86: Move optimization suffix to end of function names
Diego Biurrun [Fri, 27 Jul 2012 12:09:52 +0000 (14:09 +0200)]
x86: Move optimization suffix to end of function names

This simplifies cpuflags porting.

11 years agox86: h264_chromamc_10bit: drop pointless PAVG %define
Diego Biurrun [Fri, 27 Jul 2012 11:43:33 +0000 (13:43 +0200)]
x86: h264_chromamc_10bit: drop pointless PAVG %define

It is only used in one place so there is no need for the abstraction.

11 years agox86: mmx2 ---> mmxext in function names
Diego Biurrun [Sun, 8 Jul 2012 17:56:10 +0000 (19:56 +0200)]
x86: mmx2 ---> mmxext in function names

11 years agoswscale: do not forget to swap data in formats with different endianness
Kostya Shishkov [Wed, 31 Oct 2012 10:26:32 +0000 (11:26 +0100)]
swscale: do not forget to swap data in formats with different endianness

Otherwise during scaling it will try to interpret input in the wrong way and
that leads to the test results disagreeing on different platforms and with
different optimizations.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoaacdec: Drop some unused function arguments
Diego Biurrun [Wed, 24 Oct 2012 17:15:54 +0000 (19:15 +0200)]
aacdec: Drop some unused function arguments

11 years agox86: Fix assembly with NASM
Dave Yeo [Wed, 31 Oct 2012 06:48:26 +0000 (23:48 -0700)]
x86: Fix assembly with NASM

Unlike YASM, NASM only looks for include files in the current
directory, not in the directory that included files reside in.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agox86: fmtconvert: Refactor cvtps2pi emulation through cpuflags
Diego Biurrun [Sun, 15 Jul 2012 17:55:21 +0000 (19:55 +0200)]
x86: fmtconvert: Refactor cvtps2pi emulation through cpuflags

11 years agox86: fmtconvert: port to cpuflags
Diego Biurrun [Sun, 15 Jul 2012 13:42:17 +0000 (15:42 +0200)]
x86: fmtconvert: port to cpuflags

11 years agox86: MMX2 ---> MMXEXT in macro names
Diego Biurrun [Sun, 8 Jul 2012 17:28:57 +0000 (19:28 +0200)]
x86: MMX2 ---> MMXEXT in macro names

11 years agox86: mmx2 ---> mmxext in variable names
Diego Biurrun [Sun, 8 Jul 2012 17:55:31 +0000 (19:55 +0200)]
x86: mmx2 ---> mmxext in variable names

11 years agox86: mmx2 ---> mmxext in comments and messages
Diego Biurrun [Sun, 8 Jul 2012 17:16:20 +0000 (19:16 +0200)]
x86: mmx2 ---> mmxext in comments and messages

11 years agox86: yasm: Use complete source path for macro helper %includes
Diego Biurrun [Sun, 15 Jul 2012 09:48:21 +0000 (11:48 +0200)]
x86: yasm: Use complete source path for macro helper %includes

This is more consistent with the way we handle C #includes and
it simplifies the build system.

11 years agox86: include x86inc.asm in x86util.asm
Diego Biurrun [Sat, 7 Jul 2012 23:20:48 +0000 (01:20 +0200)]
x86: include x86inc.asm in x86util.asm

This is necessary to allow refactoring some x86util macros with cpuflags.

11 years agocng: Reindent some incorrectly indented lines
Martin Storsjö [Tue, 30 Oct 2012 10:09:57 +0000 (12:09 +0200)]
cng: Reindent some incorrectly indented lines

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocngdec: Allow flushing the decoder
Martin Storsjö [Tue, 30 Oct 2012 10:03:25 +0000 (12:03 +0200)]
cngdec: Allow flushing the decoder

After a flush, don't average the output envelope and energy with
previous iterations.

Also start directly from the target values for the first iteration
at startup.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocngdec: Make the dbov variable have the right unit
Martin Storsjö [Tue, 30 Oct 2012 09:56:54 +0000 (11:56 +0200)]
cngdec: Make the dbov variable have the right unit

Previously the unit of the variable was Bov, not dBov.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocngdec: Fix the memset size to cover the full array
Martin Storsjö [Tue, 30 Oct 2012 10:17:35 +0000 (12:17 +0200)]
cngdec: Fix the memset size to cover the full array

This was a leftover from previous iterations of the code, where the
refl coef arrays were statically allocated.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agocngdec: Update the LPC coefficients after averaging the reflection coefficients
Martin Storsjö [Tue, 30 Oct 2012 10:26:39 +0000 (12:26 +0200)]
cngdec: Update the LPC coefficients after averaging the reflection coefficients

I somehow messed up the placement of this one.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoconfigure: fix print_config() with broke awks
Mans Rullgard [Tue, 30 Oct 2012 11:57:30 +0000 (11:57 +0000)]
configure: fix print_config() with broke awks

Some awk versions do not treat the result of unary + on a (numeric)
string as numeric, giving wrong results when used in a boolean context
Using unary - instead is logically equivalent works as expected.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agopixfmt: support more yuva formats
Luca Barbato [Sun, 14 Oct 2012 06:06:27 +0000 (08:06 +0200)]
pixfmt: support more yuva formats

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoswscale: support gray to 9bit and 10bit formats
Luca Barbato [Mon, 29 Oct 2012 18:07:01 +0000 (19:07 +0100)]
swscale: support gray to 9bit and 10bit formats

With the input of Kostya and Ronald.

11 years agoconfigure: rewrite print_config() function using awk
Mans Rullgard [Sat, 27 Oct 2012 15:43:12 +0000 (16:43 +0100)]
configure: rewrite print_config() function using awk

This is much faster with slow shells and noticeably faster even
with bash on a fast Linux system.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoFATE: fix (AD)PCM test dependencies broken in e519990
Anton Khirnov [Mon, 29 Oct 2012 20:26:46 +0000 (21:26 +0100)]
FATE: fix (AD)PCM test dependencies broken in e519990

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoUse ptrdiff_t instead of int for intra pred "stride" function parameter.
Ronald S. Bultje [Mon, 29 Oct 2012 03:44:54 +0000 (20:44 -0700)]
Use ptrdiff_t instead of int for intra pred "stride" function parameter.

This way, SIMD-optimized functions don't have to sign-extend their
stride argument manually to be able to do pointer arithmetic.

11 years agox86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.
Ronald S. Bultje [Mon, 29 Oct 2012 03:44:53 +0000 (20:44 -0700)]
x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.

11 years agoRemove INIT_AVX from x86inc.asm.
Ronald S. Bultje [Mon, 29 Oct 2012 01:39:23 +0000 (18:39 -0700)]
Remove INIT_AVX from x86inc.asm.

11 years agoRemove usage of INIT_AVX in h264_intrapred_10bit.asm.
Ronald S. Bultje [Mon, 29 Oct 2012 01:39:22 +0000 (18:39 -0700)]
Remove usage of INIT_AVX in h264_intrapred_10bit.asm.

Replace INIT_AVX by INIT_XMM avx. Port the whole file to use cpuflag
based function declarations. Remove (now unused) cputype argument in
function declaration macros. Change function prototypes to have mmx2
instead of mmxext as suffix, since that's required by cpuflags.

11 years agodv: fix indentation
Anton Khirnov [Wed, 24 Oct 2012 07:12:42 +0000 (09:12 +0200)]
dv: fix indentation

11 years agodv: use AVStream.index instead of abusing AVStream.id
Anton Khirnov [Wed, 24 Oct 2012 07:06:32 +0000 (09:06 +0200)]
dv: use AVStream.index instead of abusing AVStream.id

11 years agolavfi: add ashowinfo filter
Anton Khirnov [Tue, 23 Oct 2012 19:37:26 +0000 (21:37 +0200)]
lavfi: add ashowinfo filter

It can be useful for debugging.

Based on a patch by Stefano Sabatini <stefano.sabatini-lala@poste.it>

11 years agoavcodec: Add a RFC 3389 comfort noise codec
Martin Storsjö [Mon, 22 Oct 2012 21:02:41 +0000 (00:02 +0300)]
avcodec: Add a RFC 3389 comfort noise codec

This isn't too useful as a normal codec, but can be used in
voip style applications. The decoder updates the noise
generator parameters when a packet is given to it for decoding,
but if called with an empty packet, it generates more noise
according to the last parameters.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolpc: Add a function for calculating reflection coefficients from samples
Martin Storsjö [Thu, 25 Oct 2012 12:33:15 +0000 (15:33 +0300)]
lpc: Add a function for calculating reflection coefficients from samples

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolpc: Add a function for calculating reflection coefficients from autocorrelation...
Justin Ruggles [Sat, 27 Oct 2012 19:29:56 +0000 (22:29 +0300)]
lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavr: document upper bound on number of output samples.
Anton Khirnov [Sun, 28 Oct 2012 21:52:55 +0000 (22:52 +0100)]
lavr: document upper bound on number of output samples.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agolavr: add general API usage doxy
Anton Khirnov [Sun, 28 Oct 2012 21:52:54 +0000 (22:52 +0100)]
lavr: add general API usage doxy

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoindeo3: remove duplicate capabilities line.
Anton Khirnov [Mon, 29 Oct 2012 11:16:05 +0000 (12:16 +0100)]
indeo3: remove duplicate capabilities line.

11 years agofate: ac3: Add dependencies
Diego Biurrun [Fri, 19 Oct 2012 23:13:39 +0000 (01:13 +0200)]
fate: ac3: Add dependencies

11 years agofate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
Diego Biurrun [Fri, 19 Oct 2012 22:14:26 +0000 (00:14 +0200)]
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups

11 years agofate: Add shorthands for acodec PCM and ADPCM tests
Diego Biurrun [Wed, 17 Oct 2012 17:47:03 +0000 (19:47 +0200)]
fate: Add shorthands for acodec PCM and ADPCM tests

11 years agoavconv: Drop unused function argument from do_video_stats()
Diego Biurrun [Wed, 24 Oct 2012 17:18:12 +0000 (19:18 +0200)]
avconv: Drop unused function argument from do_video_stats()

11 years agocmdutils: Conditionally compile libswscale-related bits
Diego Biurrun [Mon, 29 Oct 2012 17:00:14 +0000 (18:00 +0100)]
cmdutils: Conditionally compile libswscale-related bits

This fixes compilation with libswscale disabled.

11 years agoaacenc: Drop some unused function arguments
Diego Biurrun [Wed, 24 Oct 2012 17:16:08 +0000 (19:16 +0200)]
aacenc: Drop some unused function arguments

11 years agortsp: Avoid a cast when calling strtol
Martin Storsjö [Mon, 22 Oct 2012 20:13:49 +0000 (23:13 +0300)]
rtsp: Avoid a cast when calling strtol

This gets rid of this warning:

libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonut: support textual data
Luca Barbato [Thu, 25 Oct 2012 12:05:40 +0000 (14:05 +0200)]
nut: support textual data

Plain text (utf8 encoded) data can be muxed and demuxed in nut.

11 years agonutenc: verbosely report unsupported negative pts
Luca Barbato [Sat, 27 Oct 2012 14:56:37 +0000 (16:56 +0200)]
nutenc: verbosely report unsupported negative pts

Additionally use the correct error number.

11 years agolavc: add CODEC_CAP_DR1 to all video decoders missing them
Anton Khirnov [Wed, 17 Oct 2012 19:39:04 +0000 (21:39 +0200)]
lavc: add CODEC_CAP_DR1 to all video decoders missing them

11 years agortpdec: Cosmetic cleanup
Martin Storsjö [Mon, 22 Oct 2012 12:54:25 +0000 (15:54 +0300)]
rtpdec: Cosmetic cleanup

Mainly clean up the RTP statistics code, plus a few other obviously
misindentend lines.

Remove some useless comments, de-doxygenize some comments,
add spacing around operators and fix a typo.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoyuv4mpeg: reject unsupported codecs
Luca Barbato [Fri, 26 Oct 2012 20:55:04 +0000 (22:55 +0200)]
yuv4mpeg: reject unsupported codecs

The muxer already rejects unsupported pixel formats, reject also
unsupported codecs to prevent dangerous misuses.

11 years agonutenc: K&R formatting cosmetics
Luca Barbato [Fri, 26 Oct 2012 22:41:02 +0000 (00:41 +0200)]
nutenc: K&R formatting cosmetics

11 years agoassdec: fix qsort() callback signature
Mans Rullgard [Fri, 26 Oct 2012 16:59:50 +0000 (17:59 +0100)]
assdec: fix qsort() callback signature

This changes the event_cmp() function to the correct signature,
avoiding an ugly cast.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoconfigure: detect sparc64 automatically
Mans Rullgard [Wed, 24 Oct 2012 17:34:21 +0000 (18:34 +0100)]
configure: detect sparc64 automatically

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agovp8: fix memset() crossing array boundary
Mans Rullgard [Fri, 26 Oct 2012 20:43:55 +0000 (21:43 +0100)]
vp8: fix memset() crossing array boundary

Indexing across array boundaries is not allowed by C99.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoh264: fix invalid pointer arithmetic
Mans Rullgard [Fri, 26 Oct 2012 20:18:33 +0000 (21:18 +0100)]
h264: fix invalid pointer arithmetic

Subtracting a (positive) value from the address of an array violates
C99 section 6.5.6:

  If both the pointer operand and the result point to elements of the
  same array object, or one past the last element of the array object,
  the evaluation shall not produce an overflow; otherwise, the
  behavior is undefined.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoamrwbdec: fix invalid pointer arithmetic
Mans Rullgard [Fri, 26 Oct 2012 21:44:38 +0000 (22:44 +0100)]
amrwbdec: fix invalid pointer arithmetic

Subtracting a (positive) value from the address of an array violates
C99 section 6.5.6:

  If both the pointer operand and the result point to elements of the
  same array object, or one past the last element of the array object,
  the evaluation shall not produce an overflow; otherwise, the
  behavior is undefined.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoavio: fix pointer type mismatches in avio_enum_protocols()
Mans Rullgard [Fri, 26 Oct 2012 17:42:29 +0000 (18:42 +0100)]
avio: fix pointer type mismatches in avio_enum_protocols()

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoavserver: use socklen_t where appropriate
Mans Rullgard [Fri, 26 Oct 2012 20:53:31 +0000 (21:53 +0100)]
avserver: use socklen_t where appropriate

Various socket functions expect a pointer to socklen_t which is not
necessarily int.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoudp: use socklen_t where appropriate
Mans Rullgard [Fri, 26 Oct 2012 18:46:37 +0000 (19:46 +0100)]
udp: use socklen_t where appropriate

getsockname() takes a pointer to socklen_t which is not necessarily
int.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agonetwork: use HAVE_THREADS instead of local hack
Mans Rullgard [Fri, 26 Oct 2012 18:33:59 +0000 (19:33 +0100)]
network: use HAVE_THREADS instead of local hack

HAVE_THREADS is set in config.h if pthreads or w32threads is
available, which presumably the proper condition here.

Also fixes undefined behaviour in preprocessor directives.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoaf_channelmap: remove stray enum declaration
Mans Rullgard [Fri, 26 Oct 2012 21:25:37 +0000 (22:25 +0100)]
af_channelmap: remove stray enum declaration

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobuffersink: remove stray semicolon after function definition
Mans Rullgard [Fri, 26 Oct 2012 16:58:19 +0000 (17:58 +0100)]
buffersink: remove stray semicolon after function definition

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoconfigure: fix tests for 2-arg math functions
Mans Rullgard [Fri, 26 Oct 2012 13:42:47 +0000 (14:42 +0100)]
configure: fix tests for 2-arg math functions

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agodoc: git-howto: Clarify comment about pushing series of commits
Diego Biurrun [Thu, 25 Oct 2012 16:25:25 +0000 (18:25 +0200)]
doc: git-howto: Clarify comment about pushing series of commits

11 years agoivi_common: Drop unused function parameter from decode_band()
Diego Biurrun [Wed, 24 Oct 2012 09:54:03 +0000 (11:54 +0200)]
ivi_common: Drop unused function parameter from decode_band()

11 years agocook: Remove some silly Doxygen comments
Diego Biurrun [Wed, 24 Oct 2012 17:00:33 +0000 (19:00 +0200)]
cook: Remove some silly Doxygen comments

11 years agocook: Remove senseless maybe_reformat_buffer32() function
Diego Biurrun [Wed, 24 Oct 2012 14:03:31 +0000 (16:03 +0200)]
cook: Remove senseless maybe_reformat_buffer32() function

11 years agocook: cosmetics: Better names for joint_decode() function parameters
Diego Biurrun [Tue, 23 Oct 2012 23:08:19 +0000 (01:08 +0200)]
cook: cosmetics: Better names for joint_decode() function parameters