[FFmpeg-devel] [PATCH] Windows Television (.wtv) demuxer

Peter Ross pross
Mon Dec 20 07:22:18 CET 2010


On Wed, Dec 01, 2010 at 01:30:45AM +0100, Michael Niedermayer wrote:
> On Sat, Nov 27, 2010 at 08:20:18PM +1100, Peter Ross wrote:
> > Bump. Minor patch update:
> >     Support MPEG Layer 1/2/3 (MPEG1WAVEFORMATEX)
> >     Associate some names with the unknown GUIDs
> > 
> > On Sat, Nov 13, 2010 at 03:05:49PM +1100, Peter Ross wrote:
> > > Updated patch set. Improvements:
> > >     demuxer now ignores unsupported streams
> > >     placeholder streams are also ignored
> > >     use metadata 'language' tag
> > >     added AC3 GUID
> > 
> > -- Peter
> > (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
> 
> [...]
> > +static int find_stream_index(AVFormatContext *s, int id)
> > +{
> > +    int i;
> > +    for (i = 0; i < s->nb_streams; i++) {
> > +        if (s->streams[i]->id == id)
> > +            return i;
> > +    }
> > +    return -1;
> > +}
> 
> can be factored with   get_sindex() of gxf.c

Enclosed.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff_find_stream_index.diff
Type: text/x-diff
Size: 1246 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101220/aca78f6d/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101220/aca78f6d/attachment.pgp>



More information about the ffmpeg-devel mailing list