Calculate motion vector information based on PTS provided in slice header

Originally committed as revision 13011 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov
2008-04-28 13:37:36 +00:00
parent 038f846e41
commit 39902a8c93
4 changed files with 27 additions and 21 deletions

View File

@@ -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;