avformat/mvdec: read frame rate from data stream
authorJohn-Paul Stewart <jpstewart@personalprojects.net>
Sat, 18 Dec 2021 20:46:27 +0000 (15:46 -0500)
committerPeter Ross <pross@xvid.org>
Tue, 21 Dec 2021 01:01:17 +0000 (12:01 +1100)
commit3c9ffbd009243b3e83ba20956ff6401918376073
tree467e5a5bbe245e30b4fc5e5afacbc6a393e5617d
parent15cfb4eee316a1d6a0764f4460409f0258fd94cb
avformat/mvdec: read frame rate from data stream

Prior to this patch, for version 2 of the file format the frame rate was
hard-coded at 15 fps.  This uses the 64-bit floating-point value from
the data stream, similar to what is already done for version 3 of the
file format (around line 206).

Signed-off-by: John-Paul Stewart <jpstewart@personalprojects.net>
Reviewed-by: Peter Ross <pross@xvid.org>
libavformat/mvdec.c