diff rv30.c @ 6714:05c3a4b419e9 libavcodec

Calculate motion vector information based on PTS provided in slice header
author kostya
date Mon, 28 Apr 2008 13:37:36 +0000
parents 5b3acf9fd50a
children e943e1409077
line wrap: on
line diff
--- a/rv30.c	Mon Apr 28 10:21:58 2008 +0000
+++ b/rv30.c	Mon Apr 28 13:37:36 2008 +0000
@@ -47,7 +47,7 @@
         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;