[FFmpeg-cvslog] rtpdec_vp8: Set the timestamp when returning a deferred packet

Martin Storsjö git at videolan.org
Wed Jan 9 11:33:51 CET 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Jan  7 21:42:40 2013 +0200| [92e354b655613b88c3c202a7e19e7037daed37eb] | committer: Martin Storsjö

rtpdec_vp8: Set the timestamp when returning a deferred packet

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92e354b655613b88c3c202a7e19e7037daed37eb
---

 libavformat/rtpdec_vp8.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/rtpdec_vp8.c b/libavformat/rtpdec_vp8.c
index 18275a5..6dbf402 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);



More information about the ffmpeg-cvslog mailing list