Commit 92e354b6 authored by Martin Storsjö's avatar Martin Storsjö

rtpdec_vp8: Set the timestamp when returning a deferred packet

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent ba8cb332
......@@ -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);
......
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