From 21da81d7844237609bba1f02cec8eff936055f4d Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Thu, 5 Feb 2009 14:53:25 +0000 Subject: Introduce a new num_frames field in RTPDemuxContext so that rtp_aac.c does not need to abuse read_buf_index Originally committed as revision 17004 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/rtp.h') diff --git a/libavformat/rtp.h b/libavformat/rtp.h index 98c2dc7b49..1690be2f49 100644 --- a/libavformat/rtp.h +++ b/libavformat/rtp.h @@ -154,6 +154,7 @@ struct RTPDemuxContext { struct MpegTSContext *ts; /* only used for MP2T payloads */ int read_buf_index; int read_buf_size; + int num_frames; /* used to send back RTCP RR */ URLContext *rtp_ctx; char hostname[256]; -- cgit v1.2.3