[libav-api] invalid AVPacket size in av_read_frame usage.

Luca Barbato lu_zero at gentoo.org
Sat Apr 25 15:59:38 CEST 2015

On 25/04/15 13:50, daggs wrote:
> Greetings Luca,
>> Sent: Saturday, April 25, 2015 at 12:16 PM
>> From: "Luca Barbato" <lu_zero at gentoo.org>
>> To: libav-api at libav.org
>> Subject: Re: [libav-api] invalid AVPacket size in av_read_frame usage.
>> On 23/04/15 15:34, daggs wrote:
>>> Greetings,
>>> I'm writing a program that needs to sample the screen in bgra format.
>>> the problem is what I try to read an av frame, I get this error:
>>> [rawvideo @ 0x1403aa0] Invalid buffer size, packet size 1228800 < expected frame_size 8294400	

Actually I cannot find any message like this in the Libav sources, are
you sure are you using libav and a recent version of it?


More information about the libav-api mailing list