enabled expressions on x, y, w, h and t parameters for drawgrid and drawbox, added examples
xa: abort if number of channels or sample rate is 0

Fixes #2711.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Merge branch 'drawbox_exprs' of https://github.com/mjmvisser/FFmpeg

* 'drawbox_exprs' of https://github.com/mjmvisser/FFmpeg:
  enabled expressions on x, y, w, h and t parameters for drawgrid and drawbox, added examples

Reviewed-by: Andrey Utkin
Merged-by: Michael Niedermayer <michaelni@gmx.at>
vf_drawbox: avoid declaration in for() arguments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
vf_drawbox: give all v_log() a context

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/cllc: Fix clobbered ff_get_buffer() change

Issue-since: 9328ae484338b70a7f2dbcd420bbbac499df76cc

Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf: silence max_analyze_duration warning

This is part of normal operation with some formats. A warning should
indicate that something is wrong, and the documentation for AV_LOG_WARNING
says: "Something somehow does not look correct."

Since this message is most likely useful for debugging only, raise the
log level accordingly.

Plus-one-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Use AV_RN32 for an unaligned read in the mxg demuxer.

Fixes ticket #2707.
Require pthreads for compilation with OpenCL support.

Fixes a part of ticket #2422.

Reviewed-by: James Almer
libavfilter/src_movie: fix which packet is reset

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/src_movie: Fix handling of packet size for video

See Ticket2556

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swscale: Fix PAL8 input with alpha

Fixes Ticket2158

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/filters: Fix texi syntax

Commit f1efaf837117718e3b4c96336fe9b5f686b1fe30 used parentheses
instead of curly braces in texi syntax, resulting in warnings when
the documentation is generated. Fix that.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
examples/muxing: remove useless instruction

Simpler and less confusing.
examples/Makefile: disable -O2 optimizations

There is no much point in optimizing example code, and the -O2 flag is
annoying when debugging.
lavc/utils: improve feedback in case of invalid packet size
lavf/mux: rename variable cortag -> tagbuf2 in init_muxer()

Possibly enhance readibility.
lavf/movenc: improve error feedback in case malformed AAC bitstream is detected

Consistent with the FLV muxer.
doc/bitstream-filters.texi: add documentation for the aac_adtstoasc filter

Based on the notes in libavcodec/aac_adtstoasc_bsf.c.
doc/bitstream_filters: document the chomp filter

TODO: add some meaningful examples.