[FFmpeg-devel] [PATCH] lavf/mov.c: Fallback to finding non-keyframe in fix_index, if keyframe search fails.

Sasi Inguva isasi at google.com
Fri Nov 4 23:53:04 EET 2016


So, if I am not wrong, the only case when that would happen is, if edit
list media time was < 0 . And that would be a corrupt MOV file, unless edit
list media time = -1.
I tried to create such a file with AtomInspector but it doesn't let me.

On Fri, Nov 4, 2016 at 10:05 AM, Derek Buitenhuis <
derek.buitenhuis at gmail.com> wrote:

> On 11/3/2016 10:36 PM, Sasi Inguva wrote:
> > +            if (index == -1) {
> > +                av_log(mov->fc, AV_LOG_ERROR,
> > +                       "st: %d edit list %"PRId64" Cannot find an index
> entry before timestamp: %"PRId64"\n",
> > +                       st->index, edit_list_index, search_timestamp);
> > +                continue;
> > +            }
>
> I don't have a sample off-hand for this, but do you know how QuickTime
> reacts to this sort of thing?
>
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list