imgutils: make systematic palette opaque.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
compat/w32pthreads: add return value to pthread_cond_init().
lavu: add thread message API.
ffmpeg: use thread message API.
x86: hpeldsp: propagate changes across codecs

Some codecs still use mmx versions, so have them use the versions
with newer instruction sets.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure: uClibc native pthread requires -ldl

In the configure script, add a pthread detection with
-ldl added to cflags, because uClibc requires -ldl to
link with native libpthread.

Tested with a custom ARM toolchain with uClibc 0.9.33.2 and gcc 4.6.3.

Signed-off-by: Neil Armstrong <narmstrong@neotion.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'cigaes/master'

* cigaes/master:
  ffmpeg: use thread message API.
  lavu: add thread message API.
  compat/w32pthreads: add return value to pthread_cond_init().

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Write the actual mp3 frame size when muxing into caf if available.

Fixes ticket #3648.
avcodec/g723_1: fix writing into input frame data and warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc: add a tutorial for writing filters.
configure: s/solving/solve

Signed-off-by: Lou Logan <lou@lrcd.com>
doc/ffmpeg: note that -t is also an input option

Signed-off-by: Lou Logan <lou@lrcd.com>
MAINTAINERS: add Trac maintainers

Signed-off-by: Lou Logan <lou@lrcd.com>
vf_format: rework format list parsing

Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats.
vf_scale: use the pixfmt descriptor API

Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats.
vf_fieldorder: avoid using AV_PIX_FMT_NB

That hardcodes the number of pixel formats into lavfi and will break
when a shared lavu is updated, adding new pixel formats.
buffersrc: avoid using AV_PIX_FMT_NB

That hardcodes the number of pixel formats into lavfi and will break
when a shared lavu is updated, adding new pixel formats.
lavfi/formats: avoid using AV_{PIX,SAMPLE}_FMT_NB

Thatt hardcodes the number of formats into lavfi and will break when a
shared lavu is updated, adding new formats.
avformat: move default for max_analyze_duration into utils.c

this way we can do better tha a single fixed constant value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/utils: set max analyze duration depending on the circumstances

Fixes Ticket3673

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