[FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

Moritz Barsnick barsnick at gmx.net
Thu Jul 21 00:03:07 EEST 2016


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.)

>  #define RESYNC_BUFFER_SIZE (1<<20)
>  
> +
> +typedef struct FLVKeyFrame {

Why the extra newline?

Moritz


More information about the ffmpeg-devel mailing list