On Fri, Mar 28, 2014 at 3:37 AM, Vittorio Giovara <[email protected]> wrote: > From: Michael Niedermayer <[email protected]> > > Additional fixes by Nigel Touati-Evans <[email protected]>. > The method guess_ni_flag needs to divide timestamps in the index by > sample_size, if it is set in order to compare different streams correctly. > > Bug-Id: 666 > CC: [email protected] > Sample-Id: yet-another-broken-interleaved-avi.avi > Signed-off-by: Vittorio Giovara <[email protected]> > --- > No better bug number for the issue at hand. > > This fixes desync for badly interleaved files, such as the one provided, in > mpv and possibly other players. Thanks to wm4 for testing this patch and > confirming it fixes the bug. > > Vittorio > > libavformat/avidec.c | 55 > +++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 54 insertions(+), 1 deletion(-) >
Ping -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
