mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 19:34:14 +00:00
Make use of new AV_RL64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23329 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e576e08661
commit
ea59198921
@ -220,7 +220,7 @@ static int get_ext_stream_properties(char *buf, int buf_len, int stream_num, str
|
|||||||
buf_max_index+=14;
|
buf_max_index+=14;
|
||||||
if (buf_max_index > buf_len) return 0;
|
if (buf_max_index > buf_len) return 0;
|
||||||
buffer+=2; //skip stream-language-id-index
|
buffer+=2; //skip stream-language-id-index
|
||||||
avg_ft = AV_RL32(buffer) | (uint64_t)AV_RL32(buffer + 4) << 32; // provided in 100ns units
|
avg_ft = AV_RL64(buffer); // provided in 100ns units
|
||||||
buffer+=8;
|
buffer+=8;
|
||||||
|
|
||||||
// after this are values for stream-name-count and
|
// after this are values for stream-name-count and
|
||||||
|
Loading…
Reference in New Issue
Block a user