[Libav-user] avformat_open_input failes for > 2gb
John Orr
john.orr at scala.com
Wed May 22 04:01:12 CEST 2013
On 5/21/2013 9:59 AM, Steffen wrote:
> Hi,
> avformat_open_input returns an error fpr files >2gb. It seems because of
> call to file_seek and lseek in file file.c. The given pos is int64 but lseek
> only accepts a long, so it returns a -22.
> ffplay and ffmpeg works with same file. What do I wrong?
IF you are compiling with Visual Studio, this might be a bug that was
fixed a few months back. I think the fix is only in the git master and
not, for example, in the 1.2.1 release.
The fixed files I believe were:
libavformat/os_support.h
libavformat/os_support.c
--Johno
More information about the Libav-user
mailing list