avformat/avidec: optimize probe

about 2x as fast

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/aea: reduce false positives in probing

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_uspp: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale/yuv2rgb: fix width % 8 != 0 and rgb/bgr8 output

Fixes Ticket2570

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale/yuv2rgb: Fix width % 4 != 0 with bgr4/rgb4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale/yuv2rgb: Fix width % 4 != 0 with bgr4_byte/rgb4_byte

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tableprint_vlc.h: Should not be checked by checkheaders.

Same as for tableprint.h.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
avformat/seek: use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/rtpproto: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/rtpdec_mpeg4: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/seek: move the cur variable into the loop

This improves readability and makes it clear that the freed
value is not used after the end of an iteration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/showwaves: use INT16_MAX instead of a self defined macro
avfilter/showwaves: fix height range for cline mode
lavfi: port mp=fspp to a native libavfilter filter

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
lavfi/mp: drop mp=fspp filter

It has been ported to libavfilter.
avfilter/vf_fspp: add missing inline asm guards
avcodec/vc1_mc: use the same reference as luma does in ff_vc1_mc_4mv_chroma()

Fixes Ticket3230

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vf_scale: Use correct chroma positions for YUV420P

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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.