avformat/mpegts: skip updating programs/streams when determining duration

Fixes Ticket2441

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/wavenc: use av_mallocz_array()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
dsputil: Drop unused bit_depth parameter from all init functions
examples/output: Remove unused variable

doc/examples/output.c:460:9: warning: unused variable ‘i’
Merge commit '1173320249745eab01c901a39054fc0fced33c87'

* commit '1173320249745eab01c901a39054fc0fced33c87':
  dsputil: Drop unused bit_depth parameter from all init functions

Conflicts:
	libavcodec/dsputil.c
	libavcodec/dsputil.h
	libavcodec/ppc/dsputil_ppc.c
	libavcodec/x86/dsputilenc_mmx.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit '6cc1409ba8650fb7eaedc96e970664febc02a5e9'

* commit '6cc1409ba8650fb7eaedc96e970664febc02a5e9':
  examples/output: Remove unused variable

See: 9b211c43dc5f2e618f204c4a7fd184eb2ea51f02
Merged-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/pgssubdec: Fix input pts

Fixes part of Ticket2516

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg: fix integer overflows with sub->*display_time

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
lavf/libssh: set freed pointers to NULL

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/hevc: fix nb_sh / nb_sps check

fixes integer overflow

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/hevc: check slice_header_extension data length

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/hevc_ps: more complete check for vps_max_dec_pic_buffering

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/hevc_ps: Check layer_id_included_flags count

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
x86/dsputilenc: remove some empty if statements

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffplay: increase subtitle que size

Fixes part of Ticket2516 with ffplay

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/encoders: Document "dvdsub workaround for some players"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
swresample/libswresample.v: hide ff_*

Found-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/hevc_ps: do not loose all reference to pointers still in use

Fixes leaving a pointer to unreferenced memory
Fixes Ticket 3115

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/hevc: more clearing to avoid stale pointers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mpegts: dont clear programs during probing

Fixes Ticket 3763

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