mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Merge commit 'b72b212a4c'
* commit 'b72b212a4c':
rdt: Use a separate variable to clarify the different value namespaces
Conflicts:
libavformat/rdt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
4574f11e4d
1 changed files with 3 additions and 3 deletions
|
|
@ -299,12 +299,12 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext *rdt, AVStream *st,
|
|||
AVIOContext pb;
|
||||
|
||||
if (rdt->audio_pkt_cnt == 0) {
|
||||
int pos;
|
||||
int pos, rmflags;
|
||||
|
||||
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,
|
||||
&seq, flags, *timestamp);
|
||||
&seq, rmflags, *timestamp);
|
||||
pos = avio_tell(&pb);
|
||||
if (res < 0)
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue