[FFmpeg-devel] [PATCH] RDT/Realmedia patches #2

Michael Niedermayer michaelni
Sun Nov 23 17:42:09 CET 2008


On Sun, Nov 23, 2008 at 11:14:42AM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Mon, Nov 17, 2008 at 5:11 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Mon, Nov 17, 2008 at 09:40:34AM -0500, Ronald S. Bultje wrote:
> >> @@ -324,11 +325,12 @@
> >>      if (!s->parse_packet)
> >>          return -1;
> >>
> >> -    if (!buf) {
> >> +    if (!buf && s->prev_stream_id != -1) {
> >>          /* return the next packets, if any */
> >>          timestamp= 0; ///< Should not be used if buf is NULL, but should be set to the timestamp of the packet returned....
> >>          rv= s->parse_packet(s->dynamic_protocol_context,
> >> -                            s->st, pkt, &timestamp, NULL, 0, flags);
> >
> >> +                            s->ic->streams[s->st->index + s->prev_stream_id],
> >
> > s->st has a poor name and lacks documentation
> 
> OK, let's start from the beginning. this patch documents the ic variable alone.

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

It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081123/6ace4e46/attachment.pgp>



More information about the ffmpeg-devel mailing list