Mercurial > libavformat.hg
comparison apetag.c @ 5263:4aefe095faed libavformat
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
author | diego |
---|---|
date | Mon, 05 Oct 2009 09:19:42 +0000 |
parents | 6c0318c8a127 |
children | 08c073da6553 |
comparison
equal
deleted
inserted
replaced
5262:a2289abc9e23 | 5263:4aefe095faed |
---|