On Thu, Apr 12, 2012 at 6:02 PM, <[email protected]> wrote:
> From: Dale Curtis <[email protected]> > > Convert key_off initialize to use the same sc->keyframe_count as > used elsewhere in the function. > > Signed-off-by: Dale Curtis <[email protected]> > --- > libavformat/mov.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index b4ff1df..ce61250 100644 > --- a/libavformat/mov.c > +++ b/libavformat/mov.c > @@ -1842,7 +1842,7 @@ static void mov_build_index(MOVContext *mov, > AVStream *st) > unsigned int stts_sample = 0; > unsigned int sample_size; > unsigned int distance = 0; > - int key_off = sc->keyframes && sc->keyframes[0] == 1; > + int key_off = sc->keyframe_count && sc->keyframes[0] == 1; > > current_dts -= sc->dts_shift; > > Wasn't this already fixed by http://git.libav.org/?p=libav.git;a=commitdiff;h=29a20ac4a19df5acc0eef306ca5a737778a31358#patch1
_______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
