ppc: fft: Build AltiVec optimizations in the standard way
avformat/dtsdec: count LE and BE separately in dts_probe()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/dtsdec: fix signedness in reference pcm highpass in dts_probe()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/dtsdec: skip the first 4k in dts_probe()

DTS primarly needs to be separated from PCM, and PCM can contain cliping and
overshoots at the very start which can mimic DTS headers.

If this isnt sufficient then more of the DTS stream has to be decoded
and analyzed

Fixes ticket3784

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/wavpackenc: Fix log2sample() result value

Found-by: CSA
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffserver: initialize pbuffer in prepare_sdp_description()

also check pbuffer before use

Found-by: CSA
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit 'ffa4d4ef0bd66c4e8bde7357b69bdedc78123ea8'

* commit 'ffa4d4ef0bd66c4e8bde7357b69bdedc78123ea8':
  ppc: fft: Build AltiVec optimizations in the standard way

Conflicts:
	libavcodec/ppc/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/lavfutils: remove redundant variable init

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/avuienc: move pointer declaration to where its used

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/mmvideo: remove unused return value and assignment

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/error_resilience: comment out unused  assignment

Its not removed as the code which uses this is out-commented too.

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/error_resilience: make error an local variable where possible

This makes the code easier to understand as the scope of the variable is
smaller.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/mpeg12dec: Document Ticket3809 fix

Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/mpeg12dec: fix vissible typo after 17c65651
Support raw dvdsub palette as stored on normal dvd's

This is how the palette is stored on dvd's. Currently
only xbmc passes the palette information to libavcodec
this way.
Check return value of avio_seek and avoid modifying state if it fails

The code still modifies state if the timestamp is not found. Not
sure exactly how to avoid that.
asf hacks
if av_read_packet returns AVERROR_IO, we are done. ffmpeg's codecs might or might not handle returning any completed demuxed packets correctly
added: Ticket #7187, TV Teletext support for DVB EBU Teletext streams
Don't accept mpegts PMT that isn't current