flvdec: Treat all nellymoser versions as the same codec

This avoids creating new AVStreams for them when switching between
different variants of them, since we can handle changes between
different sample rates of nellymoser within the same stream.

Signed-off-by: Martin Storsjö <martin@martin.st>
flacdec: add planar output support

Signed-off-by: Mans Rullgard <mans@mansr.com>
lavc: options: add planar names for request_sample_fmt

Signed-off-by: Mans Rullgard <mans@mansr.com>
lpc: use default number of passes when lpc_passes is invalid

Should fix valgrind failure (uninitialized vars)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
bmv: add CODEC_CAP_DR1

Signed-off-by: Paul B Mahol <onemda@gmail.com>
mss3: add forgotten 'static' qualifier for private table
configure: cleanup libiec61883 code, allow enabling via command line

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
doc/indevs/iec61883: document requirements for iec61883 device

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
avconv: fix the check for -ss as an output option.

start time is already substracted from the frame timestamp, so it needs
to be checked against 0, not start time.
avconv: use only meaningful timestamps in start time check.
af_amix: only consider negative return codes as errors.
af_amix: return AVERROR(EAGAIN) when request_frame didn't produce output.

0 should only be returned when there was at least one output frame.
af_amix: avoid spurious EAGAIN.

Input on/off state can change in request_samples(), which can result in
a state where only the first input is active. get_available_samples()
will then return 0, and request_frame() will fail with EAGAIN even
though there is data on the single active input.

Take this into account and check the number of active inputs again after
calling request_samples().
cosmetics: various spelling fixes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Fix destination row striding in altivec_yuv2_bgr24.

Misaligned row artifacts showed up when a 624x352 frame was converted
to BGR24 format.  When advancing to the next row the destination linesize
was added to the last output pointer position which was not linesize aligned,
resulting in a distorted picture.

Signed-off-by: Pavel Koshevoy <pavel@apple.aragog.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: poll filters even after -t limit.

If not, frames can still arrive to the sink and accumulate.
The frames past recording time will be ignored in do_*_out.
configure: add functions for testing code fragments

This simplifies testing arbitrary code fragments within a function
body.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macro

The SPLATB_REG macro already adds the 'd' suffix internally.

This fixes building on Win64, which has been broken since 878e66902.

This worked for unix, where r2 happened to be rdx in this case, which
with the first suffix rdxd was mapped to eax, and eaxd is defined back
to eax. On win64 however, r2 happened to be R8 in this case, and
R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything.

Signed-off-by: Martin Storsjö <martin@martin.st>
tiffenc: simplify calculation of bpp_tab_size

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tiffenc: use av_pix_fmt_descriptors to set bpp_tab[]

Signed-off-by: Paul B Mahol <onemda@gmail.com>