avcodec/utils: Fix "warning: pointer type mismatch in conditional expression"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mov: Fix 'warning: format specifies type unsigned short but the argument has type int'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ismindex: handle discontinuous streams better

Read the fragment duration from the trun sample data, rather than
assuming that there are no gaps.

Signed-off-by: Martin Storsjö <martin@martin.st>
ismindex: handle discontinuous streams better

Reads the fragment duration from the trun sample data, rather than
assuming that there are no gaps. Creates much better playlists for our
inputs.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Merge commit '2bc220958c7570020d87ee353db65460b518998a'

* commit '2bc220958c7570020d87ee353db65460b518998a':
  ismindex: handle discontinuous streams better

Conflicts:
	tools/ismindex.c

See: d3834f290138cb8c48fd404081ac5b9a2ca14564
Merged-by: Michael Niedermayer <michaelni@gmx.at>
lavf: fix 2GB file seek limit on Android

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avformat/mov: E-AC-3 streams need parsing too.

syncframes in E-AC-3 can be combined to provide 6 audio blocks per
sample, thus requiring parsing for proper decoding.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/Makefile: add softfloat to TESTPROGS

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/softfloat: Fix dependence on signed overflow in av_normalize1_sf()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/softfloat: add some asserts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
compat/w32pthreads: use the CONDITION_VARIABLE typedef if available

This silences warnings about passing arguments from incompatible pointer type
when targeting Windows Vista or newer.

Tested-by: Matt Oliver <protogonoi@gmail.com>
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>