diff options
author | Luca Abeni <lucabe72@email.it> | 2009-02-05 14:53:25 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2009-02-05 14:53:25 +0000 |
commit | 21da81d7844237609bba1f02cec8eff936055f4d (patch) | |
tree | 15cbcbcbad1cf1f550a891f5b779cd4e2000d805 /libavformat/rtpenc.c | |
parent | 468d298d0c509c58d603cbe50abaa13efb418278 (diff) | |
download | ffmpeg-21da81d7844237609bba1f02cec8eff936055f4d.tar.gz |
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
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r-- | libavformat/rtpenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 389e3c7fa6..32b160e08f 100644 --- a/libavformat/rtpenc.c +++ b/libavformat/rtpenc.c @@ -102,7 +102,7 @@ static int rtp_write_header(AVFormatContext *s1) s->buf_ptr = s->buf; break; case CODEC_ID_AAC: - s->read_buf_index = 0; + s->num_frames = 0; default: if (st->codec->codec_type == CODEC_TYPE_AUDIO) { av_set_pts_info(st, 32, 1, st->codec->sample_rate); |