lavf/mxfdec: read field dominance flag

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: silence warning of mixed enumeration types

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Revert "asfenc: return error on negative timestamp"

This reverts commit d1bec33b46091546c5b2e6815210e73f87abf413, it breaks
FATE.
avplay: remove the -debug option.

It just shadows the corresponding AVOption and prevents using named
constants.
lavc, lavfi: fix counting number of planes in AVBufferRef wrappers

Number of planes is not always equal to the number of components even
for formats marked with PIX_FMT_PLANAR -- e.g. NV12 has three components
in two planes.
lavc: update the doxy for avcodec_decode_{video,audio} wtih refcounting.
pixdesc: add a function for counting planes in a pixel format.
buffersrc: fix a typo.

Vertical shift is log2_chroma_h, not log2_chroma_w.
mpegvideo: fix allocation of the hwaccel_picture_private data

Signed-off-by: Anton Khirnov <anton@khirnov.net>
pthread: unref already decoded frames when flushing the decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
h264: allocate hwaccel privdata after the frame buffer

This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
mpegvideo: allocate hwaccel privdata after the frame buffer

This ensures the hwaccel privdata does not leak when a frame buffer could
not be allocated (and toggle the assert when the frame is re-used).
Having no frame buffer available is quite common when using the DXVA2
hwaccel in situations where the DXVA2 renderer is being re-allocated, for
example when moving between displays.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
avidec: fix duration and bitrate of truncated files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
alac: Fix order of values in comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/add_to_pool: remove unused assgnment

Fixed CID991859
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
mpegvideo_enc: remove stray semicolon

Fixes CID991857
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf: do not make a hard dep on internal subtitles helpers.
matroska_parse_frame: fix memleak

Fixes CID991856
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
audio_get_buffer: add assert to ensure nb_extended_buf has a safe value

May silence CID991853

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fate: add ebur128 metadata test.