[FFmpeg-devel] [PATCH] Make RM demuxer behave better with -an option
Sun Mar 8 19:22:56 CET 2009
On Sun, Mar 08, 2009 at 10:44:27AM -0400, Ronald S. Bultje wrote:
> On Mon, Mar 2, 2009 at 8:35 AM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> > On Mon, Mar 2, 2009 at 2:02 AM, Kostya <kostya.shishkov at gmail.com> wrote:
> >> The only obvious simplification I see for now is merging old and new format
> >> demuxing - the only difference is that old format does not contain packet
> >> headers and audio only (exactly like .wav and .avi).
> > that's funny, I just noticed that yesterday and was planning some
> > testing today to see if it's really that simple as replacing that
> > whole block by a single ff_rm_parse_packet(s, s->priv_data,
> > s->streams, s->streams->priv_data, pkt);. That be the most
> > beautiful simplification of all.
> Attached patch does it, tested with "old_format" .ra files and works
> same as before. It's a few more lines of code than I would've liked,
> but still a good simplification and removal of duplicate code.
do we have a rm demuxer maintainer volunteer?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel