diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-10-18 13:45:13 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-18 15:08:18 +0200 |
commit | 2b72f8ac320c8c5087b1bd0589fc3df132eb42bc (patch) | |
tree | 063eaccf74698004f639d9d7da872c1a602703fc /libavutil/common.h | |
parent | a27f1116cdfe49ea5136f0460d6648aec517bb13 (diff) | |
download | ffmpeg-2b72f8ac320c8c5087b1bd0589fc3df132eb42bc.tar.gz |
wtv: Seek by sector properly
Use an helper function to seek by sector to avoid possible mistakes
due shifting by WTV_SECTOR_BITS a 32bit integer.
Contrary to common intuition, a 32 bit integer left shifted
by a 64 bit integer does not promote the 32 bit integer to
64 bit before shifting.
Diffstat (limited to 'libavutil/common.h')
0 files changed, 0 insertions, 0 deletions