avformat/cache: remove ftruncate usage, its not always available
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Dec 2014 11:11:58 +0000 (12:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Dec 2014 11:41:15 +0000 (12:41 +0100)
commit0704c44d68704df63eccd5579e66e5f218a378a6
tree735c35c7105337f21d75bf32dc78c67827a7909e
parentafaa4a89463187fe98042ba6bab0269ba4b4ba47
avformat/cache: remove ftruncate usage, its not always available

In case of errors the cache file will be slightly larger than needed,
this should have no practical relevance though

Should fix build on VS201*

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/cache.c