From 39902a8c932a606554fce90551b461993aab10cc Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 28 Apr 2008 13:37:36 +0000 Subject: Calculate motion vector information based on PTS provided in slice header Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/rv30.c') diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c index 944d8fd0b4..e871b534e5 100644 --- a/libavcodec/rv30.c +++ b/libavcodec/rv30.c @@ -47,7 +47,7 @@ static int rv30_parse_slice_header(RV34DecContext *r, GetBitContext *gb, SliceIn return -1; si->quant = get_bits(gb, 5); skip_bits1(gb); - skip_bits(gb, 13); // timestamp + si->pts = get_bits(gb, 13); skip_bits(gb, r->rpr); si->width = w; si->height = h; -- cgit v1.2.3