mxfdec: set audio timebase to 1/samplerate
authorAnton Khirnov <anton@khirnov.net>
Sat, 28 Sep 2013 14:56:54 +0000 (16:56 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:58 +0000 (09:43 +0100)
commit90294e31a199b457bba77da2f73183d2d154faf4
treeec8dfd17bdebb62da1ab712153034fa017574862
parentd92c908e235a0632176b1b037860c73bcd2ed97f
mxfdec: set audio timebase to 1/samplerate

Fixes sync in some samples (e.g. bugs 7581 and 8374 in VLC).
Based on a commit by Matthieu Bouron <matthieu.bouron@gmail.com>

Reported-by: Jean-Baptiste Kempf <jb@videolan.org>
CC: libav-stable@libav.org
(cherry picked from commit 93370d12164236d59645314871a1d6808b2a8ddb)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavformat/mxfdec.c
tests/ref/seek/lavf_mxf
tests/ref/seek/lavf_mxf_d10