summaryrefslogtreecommitdiff
path: root/libavformat/wtv.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-10-18 13:45:13 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-10-18 15:08:18 +0200
commit2b72f8ac320c8c5087b1bd0589fc3df132eb42bc (patch)
tree063eaccf74698004f639d9d7da872c1a602703fc /libavformat/wtv.h
parenta27f1116cdfe49ea5136f0460d6648aec517bb13 (diff)
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 'libavformat/wtv.h')
0 files changed, 0 insertions, 0 deletions