diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-07-30 15:04:19 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-07-30 15:04:19 +0000 |
commit | 34bddc39b4c3af9472c99a9835af4dc12160f48e (patch) | |
tree | fde342f16cafe124db5cbd6c930ce88de93d7b17 /libavformat/rdt.c | |
parent | e4b8d05d476f34d1b5daba87db190cc06cea5805 (diff) | |
download | ffmpeg-34bddc39b4c3af9472c99a9835af4dc12160f48e.tar.gz |
Don't use a pointer-to-flags/timestamp in ff_rm_parse_packet(); the function
used to return packet data, which might update the flags/timestamp to be
used for the next packet data returned by the demuxer. However, that was
separated out into a new function, and the flags/timestamp are thus never
updated within ff_rm_parse_packet() anymore, and thus do not need to be
a pointer.
Originally committed as revision 19539 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r-- | libavformat/rdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c index b1dd93918e..24ee6a993d 100644 --- a/libavformat/rdt.c +++ b/libavformat/rdt.c @@ -308,7 +308,7 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st, init_put_byte(&pb, buf, len, 0, NULL, NULL, NULL, NULL); flags = (flags & RTP_FLAG_KEY) ? 2 : 0; res = ff_rm_parse_packet (rdt->rmctx, &pb, st, rdt->rmst[st->index], len, pkt, - &seq, &flags, timestamp); + &seq, flags, *timestamp); pos = url_ftell(&pb); if (res < 0) return res; |