mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
rtpdec_vp8: Set the timestamp when returning a deferred packet
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
ba8cb33273
commit
92e354b655
@ -79,6 +79,7 @@ static int vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8,
|
||||
int ret = ff_rtp_finalize_packet(pkt, &vp8->data, st->index);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
*timestamp = vp8->timestamp;
|
||||
return 0;
|
||||
}
|
||||
return AVERROR(EAGAIN);
|
||||
|
Loading…
Reference in New Issue
Block a user