[FFmpeg-devel] [PATCH 1/2] add support for generic seeking by reading timestamps in nuv

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Sep 12 08:04:21 CEST 2011

Not a proper review yet, but your approach is inefficient.
You should not scan bytewise, but instead always read a 32 bit block and look for jjjj - once you have a match, check for a full RTjjjjjjjj...
I thought I had seen this implemented somewhere (in MPlayer? Or maybe just one of the things I never finished.

On 11 Sep 2011, at 18:11, Joakim Plate <elupus at ecce.se> wrote:

> ---
> libavformat/nuv.c |   78 +++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 78 insertions(+), 0 deletions(-)
> <0001-add-support-for-generic-seeking-by-reading-timestamp.patch>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list