[Ffmpeg-devel] [PATCH] Add flv seeking support

Michael Niedermayer michaelni
Sat Sep 16 17:30:11 CEST 2006


Hi

On Sat, Sep 16, 2006 at 08:59:14PM +0900, nazo wrote:
> Hi,
> 
> The attached patch adds support flv demuxer seeking. I tested with 
> ffplay and vlc.

> Index: libavformat/flvdec.c
> ===================================================================
> --- libavformat/flvdec.c    (??????????????? 6279)
> +++ libavformat/flvdec.c    (???????????????)
> @@ -18,6 +18,10 @@
>   */
>  #include "avformat.h"
>  
> +typedef struct {
> +    AVStream *st; //for seeking

this is unaccpetable, use AVFormatContext.streams

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list