4xm: check the return value of read_huffman_tables().

CC:libav-stable@libav.org
av_memcpy_backptr: avoid an infinite loop for back = 0

CC:libav-stable@libav.org
lagarith: avoid infinite loop in lag_rac_refill()

range == 0 happens with corrupted files

CC:libav-stable@libav.org
loco: check that there is data left after decoding a plane.

CC:libav-stable@libav.org
flicvideo: avoid an infinite loop in byte run compression

When byte_run is 0, pixel_countdown is not touched and the loop will run
forever.

CC:libav-stable@libav.org
avfilter: Silence warning: passing argument 3 of av_image_copy from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vf_overlay: silence warning: X may be used uninitialized in this function

Also ensure that format is valid in query_formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
aacdec: Fix warning: initialization from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
mov: use the format context for logging.

CC:libav-stable@libav.org
mlpdec: do not try to allocate a zero-sized output buffer.

CC:libav-stable@libav.org
cavs: initialize various context tables to 0

Avoids crashes with corrupted files.

CC:libav-stable@libav.org
qtrle: add more checks against pixel_ptr being negative.

CC:libav-stable@libav.org
qtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro
qtrle: use AV_LOG_ERROR in an error message.
libx264: change i_qfactor to use x264cli's default

This also allows libx264 to modify its i_qfactor value
when using the "-tune" setting. Previously it had a static
value of 1.25

Signed-off-by: Anton Khirnov <anton@khirnov.net>
bmp: Fix warning X may be used uninitialized in this function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264: Silence warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/filters: add forgotten sentence for blend filter examples

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pnm: add high-bitdepth PGMYUV support for both encoder and decoder
rtmpproto: Check APP_MAX_LENGTH

Fixes Ticket2292

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