From 92e354b655613b88c3c202a7e19e7037daed37eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 7 Jan 2013 21:42:40 +0200 Subject: [PATCH] rtpdec_vp8: Set the timestamp when returning a deferred packet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/rtpdec_vp8.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c index 18275a507a..6dbf402df6 100644 --- a/libavformat/rtpdec_vp8.c +++ b/libavformat/rtpdec_vp8.c @@ -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);