caf: Give context structure a consistent name
pcm-dvd: Move a variable to a smaller scope

This avoids an unused variable warning on big-endian systems.
vc1: Use logical instead of bitwise or for coded_inter

This appears to be the intended behavior.
vc1: Use logical instead of bitwise or for twomv

CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
fate: Add VC-1 interlaced twomv test

CC: libav-stable@libav.org
ac3enc: allow Dolby Pro Logic II as a preferred downmix mode.

Some encoders already use this value even
though it's reserved in the A/52 specification.
ac3enc: allow Dolby Pro Logic IIz as the Dolby Surround EX mode.

This is actually defined in the A/52 specification.
flac: Remove unused headers

Signed-off-by: Diego Biurrun <diego@biurrun.de>
log: Unbreak no-tty support on 256color terminals
probe: Bump the score for mime type matching

It should be more trustworthy than extension matching.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
avconv: Use only audio and video to guess discontinuities

Data and subtitle streams might cause false positive.
configure: Assume a standard-compliant default libc

Non-standard compliant libc should be supported on a per-case basis
anyway.
hwaccel: Call ->get_format again if hwaccel init fails

This allows the application to fall back on another hwaccel or,
more likely, software decoding.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
h264: Always invoke the get_format() callback

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
mpeg12: Always invoke the get_format() callback

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
x11grab: Check for XFixes availability at runtime
x11grab: Check XFixesGetCursorImage return value

It could return NULL if the cursor is outside the screen, the connection
timed out or the system is out of memory.

CC: libav-stable@libav.org
x11grab: Check the XQueryPointer return value

The paint_mouse_pointer() code uses XFixes to retrieve the cursor
coordinates, but XFixes gives no information about which screen the
pointer is on; this results in always drawing the cursor on the
captured screen even if the mouse pointer was on another screen.

For example, when capturing from screen 1 (i.e. -f x11grab -i ":0.1")
the cursor was being drawn in the captured image even when the mouse
pointer was actually on screen 0, which is wrong and visually confusing.

CC: libav-stable@libav.org
xcbgrab: XCB-based screen capture

Matches the x11grab screen capture by features.