2016-07-21 5:03 GMT+08:00 Moritz Barsnick <barsn...@gmx.net>: > On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: > > > Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before > video or audio stream was created > ^^^ flv > > > There has an error when seeking in a flv file, which key frames was > > sorted before video frame. > > This ensures that all the key frames was cached, and add to > > corresponding stream when it was created. > > Thanks to the grammar, I don't understand the intent of the patch. > (Don't get me wrong, I'm not scorning your English, but it needs to be > improved.) > Hi Moritz, Perhaps he want to create a keyframe index for flv file, to seek flv keyframe.
> > #define RESYNC_BUFFER_SIZE (1<<20) > > > > + > > +typedef struct FLVKeyFrame { > > Why the extra newline? Hi Zhang Xinzheng , You should check the patch use the tool at ./tools/patcheck . Please reading http://ffmpeg.org/developer.html#toc-Submitting-patches-1 . _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel