aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv30.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-04-28 13:37:36 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-04-28 13:37:36 +0000
commit39902a8c932a606554fce90551b461993aab10cc (patch)
tree748a123587bba317b8479ac3264ed0b60344fd0b /libavcodec/rv30.c
parent038f846e41b2ef7e760a39876beaebea999e27e9 (diff)
downloadffmpeg-39902a8c932a606554fce90551b461993aab10cc.tar.gz
Calculate motion vector information based on PTS provided in slice header
Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv30.c')
-rw-r--r--libavcodec/rv30.c2
1 files changed, 1 insertions, 1 deletions
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;