[FFmpeg-devel] [PATCH] Windows Television (.wtv) demuxer
Michael Niedermayer
michaelni
Wed Dec 1 01:30:45 CET 2010
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
otherwise this looks ok if tested (also with trashed streams & valgrind)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Old school: Use the lowest level language in which you can solve the problem
conveniently.
New school: Use the highest level language in which the latest supercomputer
can solve the problem without the user falling asleep waiting.
-------------- 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/20101201/b12f0618/attachment.pgp>
More information about the ffmpeg-devel
mailing list