aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-10-05 09:19:42 +0000
committerDiego Biurrun <diego@biurrun.de>2009-10-05 09:19:42 +0000
commit79c0790789668f07e414eb1205ddffa9fd8236f0 (patch)
treec86ec974ae03bc7dde30c695c2632592da5ad8d2 /libavformat/mp3.c
parent63380b5e54f64abdde4a8b6bce0d60f1fa4a22a1 (diff)
downloadffmpeg-79c0790789668f07e414eb1205ddffa9fd8236f0.tar.gz
Fix pcm_read_seek () when the position it calculates is greater than 2 GB.
pcm_read_seek() puts the return value of url_fseek() in an int and then compares < 0 to see if an error occurred; if the position is greater than 2 GB, the 32-bit signed int result will be < 0. Change the type of ret to int64_t to avoid the wraparound. patch by Daniel Verkamp, daniel drv nu Originally committed as revision 20169 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
0 files changed, 0 insertions, 0 deletions