[FFmpeg-devel] [PATCH 3/6] rmdec.c: ff_rm_retrieve_cache()

Benoit Fouet benoit.fouet
Mon Nov 5 21:58:02 CET 2007


Ronald S. Bultje wrote:
> Hi,
>
> certain packets (both in the actual realmedia container format as well as in
> rtp packets sent from realmedia/helix servers) can contain multiple audio
> frames. These are cached by the realmedia demuxer and returned upon
> subsequent calls. This patch isolates this code into a new function such
> that the RDT (realmedia/rtsp) reader can use this same functionality also,
> thereby not just returning the first frame of each RTP packet, but also all
> subsequent frames.
>
>   

is this intentional ?

>+    pkt->stream_index = st->index;
>-        pkt->stream_index = rm->audio_stream_num;
>

-- 
Ben
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list