ffmpeg segfaults with large ogg/vorbis files
|Reported by:||Philius||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
I've got a 2.7GB ogg/vorbis file I want to convert to an AVI.
I recorded it with cheese.
I built a debugging version of ffmpeg 0.6.1 and ran it under kdbg to track it down.
The problem is in oggdec.c line 282.
It's trying to double the buffer size and that allocation fails, but this isn't checked.
I think mmap() is the only way to go with such large files.
Question: can ffmpeg or some other program split up a large file before processing?
ffmpeg would need to be aware of this for two-pass processing.
I downloaded ffmpeg-0.7-rc1 and the problem in oggdec.c is still there.
Change History (16)
comment:1 Changed 6 years ago by cehoyos
- Priority changed from normal to important
- Status changed from new to open
- Version changed from unspecified to git-master