[FFmpeg-devel] [RFC] Split rtp.h

Luca Abeni lucabe72
Wed Feb 4 16:32:06 CET 2009


Hi Ronald,

On Wed, 2009-02-04 at 09:13 -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Wed, Feb 4, 2009 at 9:02 AM, Luca Abeni <lucabe72 at email.it> wrote:
> > As a result, the patch contains things like
> > -    if ((s->read_buf_index == MAX_FRAMES_PER_PACKET) || (len && (len +
> > size) > max_packet_size)) {
> > -        int au_size = s->read_buf_index * 2;
> > +    if ((s->num_frames == MAX_FRAMES_PER_PACKET) || (len && (len + size) >
> > max_packet_size)) {
> > +        int au_size = s->num_frames * 2;
> 
> I thought I commented on that previously, but google doesn't show my
> reply so it is probably non-existent.
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059517.html
> I'd suggest to do this in a separate commit first, add the extra field
> in RTPDemuxContext before you split.

Sorry, I missed this part of your reply. Adding num_frames in a previous
commit looks good to me; if noone is against it, I'll commit this change
in few days.


> 
> Other then that, great patch, please apply. Will you help commenting
> rtp*.h also?

I'll surely take care of rtpenc.h. And I can do rtp.h too, as it becomes
a very small file ;-).


			Thanks,
				Luca





More information about the ffmpeg-devel mailing list