[FFmpeg-user] FFV1 multi-pass: Could not allocate file buffer

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Oct 21 23:41:51 CEST 2013


Paul B Mahol <onemda <at> gmail.com> writes:

> >> "Could not allocate file buffer
> >
> > This is the relevant code:
> >     *size = ftell(f);
> > ...
> >     *bufptr = av_malloc(*size + 1);
> >     if (!*bufptr) {
> >         av_log(NULL, AV_LOG_ERROR, "Could not allocate file buffer\n");

> Are you telling that whole file is kept in memory?

This is how I interpret the code I posted but this 
may of course be completely wrong.

Carl Eugen



More information about the ffmpeg-user mailing list