changed: allow 4 second skew between streams in mov before attempting to seek

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Apply patch from XBMC by Joakim Plate: "changed: allow 4 second skew between streams in mov before attempting to seek"
Reduce buffer size used while scanning media.

For some reasons, when playing a MOV file by AirPlay from an iPhone fails when the buffer is too big. So add a method for specific stream allowing to temporarily reduce the size of the buffer. I suspect an issue in FFmpeg caching code.
This allows to work around it, without investigating too much the "why".

Fixes #11263
Write broken aac frames to mov files instead of skipping them.

Fixes decoding with picky media players.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b448c0a68d0cc7dfef736267dfdaed0e213c020b)
Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
smacker: fix off by one error

Regression since a93b572ae4f517ce0c35cf085167c318e9215908.

Fixes #2426.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit e3cc92a623a6ece42816c7a692c8815688a99ab0)
Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Skip padding in an id3 tag in aiff files.

Fixes ticket #2430.

Reviewed-by: Matthieu Bouron
(cherry picked from commit db2d3a90825025b2f5da85792e1df33280c61391)

Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>