avcodec/ffwavesynth: Use av_freep() to avoid leaving stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/ituh263enc: Check den==0 in ff_h263_aspect_to_info()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/rational: Check that av_reduce() returns values within the requested max

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/cdxl: fix duration in case of overflow

Fixes integer overflow
Fixes CID1260706

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
fate: Use bitexact conversions in the dpxparser test

This fixes fate on e.g. ppc.

Signed-off-by: Martin Storsjö <martin@martin.st>
dashenc: Fix writing of timelines that don't start at t=0

When writing an explicit time, reset the cur_time variable to this
value as well. This avoids writing excessive time attributes for each
segment in the timeline, as long as the segments are continuous.

Signed-off-by: Martin Storsjö <martin@martin.st>
dashenc: Remove some stray double spaces

Signed-off-by: Martin Storsjö <martin@martin.st>
Fix decoding for little endian Aja Kona 10-bit RGB.

The little endian fourcc is r10k, big endian uses R10k.
Reported and analyzed by Jason Freets, jasonslife hotmail
Merge commit '50036c30df83b609bc5a95276f1287f8b9b8bdd6'

* commit '50036c30df83b609bc5a95276f1287f8b9b8bdd6':
  fate: Use bitexact conversions in the dpxparser test

Conflicts:
	tests/fate/image.mak

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

* commit 'b91a5757fcbf723da99b05b298a6f820271dbc2b':
  dashenc: Fix writing of timelines that don't start at t=0

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

* commit '8d54bacb789c7d37ca3cf48d9ac13083ad0c1ba7':
  dashenc: Remove some stray double spaces

Merged-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_cropdetect: add RGB & RGBA support

These where already supported in the code but not listed in the supported
pixel formats.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_cropdetect: Unroll 1byte per sample loop

12807 -> 6336 decicycles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_cropdetect: Unroll 3 & 4 bytes per sample loop

19484 -> 10266 decicycles

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_cropdetect: support 9-16bit planar formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_cropdetect: fix ; typos

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avfilter/vf_cropdetect: extend limit to cover 16bit pixel formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge remote-tracking branch 'upstream/master'