diff options
author | Martin Storsjö <martin@martin.st> | 2013-01-07 21:42:40 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-08 17:42:20 +0200 |
commit | 92e354b655613b88c3c202a7e19e7037daed37eb (patch) | |
tree | 865df18a5b5b1b706366a6d88ffd147b870e94a7 /libavformat | |
parent | ba8cb33273aee445c1a04c95e41fc751797f77ab (diff) | |
download | ffmpeg-92e354b655613b88c3c202a7e19e7037daed37eb.tar.gz |
rtpdec_vp8: Set the timestamp when returning a deferred packet
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_vp8.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |