Commit 4574f11e authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b72b212a'

* commit 'b72b212a':
  rdt: Use a separate variable to clarify the different value namespaces

Conflicts:
	libavformat/rdt.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 2eb890aa b72b212a
...@@ -299,12 +299,12 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st, ...@@ -299,12 +299,12 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st,
AVIOContext pb; AVIOContext pb;
if (rdt->audio_pkt_cnt == 0) { if (rdt->audio_pkt_cnt == 0) {
int pos; int pos, rmflags;
ffio_init_context(&pb, (uint8_t *)buf, len, 0, NULL, NULL, NULL, NULL); ffio_init_context(&pb, (uint8_t *)buf, len, 0, NULL, NULL, NULL, NULL);
flags = (flags & RTP_FLAG_KEY) ? 2 : 0; rmflags = (flags & RTP_FLAG_KEY) ? 2 : 0;
res = ff_rm_parse_packet (rdt->rmctx, &pb, st, rdt->rmst[st->index], len, pkt, res = ff_rm_parse_packet (rdt->rmctx, &pb, st, rdt->rmst[st->index], len, pkt,
&seq, flags, *timestamp); &seq, rmflags, *timestamp);
pos = avio_tell(&pb); pos = avio_tell(&pb);
if (res < 0) if (res < 0)
return res; return res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment