Hi,

On 6/8/2009 6:23 AM, spyfeng wrote:
> Author: spyfeng
> Date: Mon Jun  8 15:23:40 2009
> New Revision: 4391
> 
> Log:
> fix the wrong usage for AVFMT_GENERIC_INDEX
> 
> Modified:
>    seek_api/mpeg.c
> 
> Modified: seek_api/mpeg.c
> ==============================================================================
> --- seek_api/mpeg.c   Mon Jun  8 06:02:12 2009        (r4390)
> +++ seek_api/mpeg.c   Mon Jun  8 15:23:40 2009        (r4391)
> @@ -391,7 +391,7 @@ static int mpegps_read_pes_header(AVForm
>              if(startcode == s->streams[i]->id &&
>                 !url_is_streamed(s->pb) /* index useless on streams anyway 
> */) {
>                  ff_reduce_index(s, i);
> -                av_add_index_entry(s->streams[i], *ppos, dts, 0, 0, 
> AVFMT_GENERIC_INDEX /* FIXME keyframe? */);
> +                av_add_index_entry(s->streams[i], *ppos, dts, 0, 0, 0 /* 
> FIXME keyframe? */);

I think you can remove this, index will be populated later in
libavformat/utils.c

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to