hpeldsp: fix build without inline asm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/x86/hpeldsp_init: remove redundant if()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffprobe: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/atrac3: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/atrac3plusdec: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Replace assert with AVERROR when recode_subtitle called w/o ICONV.

recode_subtitle() is called implicitly by avformat_find_stream_info().
As such, clients which disable ICONV always crash if a file contains
subtitles; even if they don't care about them.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/utils: add error message for the recode_subtitle() without iconv case

Based on the assert command which was removed in ef0c466a0fef4657d3f46cc9adea97e76a8e4faa

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat: add av_stream_get_end_pts()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: use av_stream_get_end_pts()

Simplifies code and should correct timing values when -*sync drop is used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
sws: document color range >8bit oddity
Don't overwrite codec_id with 0 in ff_mp4_read_dec_config_descr().

Fixes ticket #3660.
x86/dsputil: port clear_block functions to yasm

Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
x86/dsputil: port ff_put_signed_pixels_clamped_mmx to yasm

Also add an SSE2 version

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Fix compilation error around struct visibility when VDPAU disabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/vdpau_internal: move "struct vdpau_picture_context" up to avoid "#else"

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