[Libav-user] Array bounds error while reading from ffmpeg data array using Purify

Alex Cohn alexcohn at netvision.net.il
Wed Dec 26 08:33:46 CET 2012

On Wed, Dec 26, 2012 at 7:52 AM, Navin <nkipe at tatapowersed.com> wrote:
>         avpicture_fill((AVPicture *) g_pFrameRGB, pbuffer, PIX_FMT_RGB24, g_metadata->WIDTH, g_metadata->HEIGHT);
.. so far so good
>         av_free(pbuffer);
oops, you still expect g_pFrameRGB->data[0] to be a valid array. But
you have released this memory!


More information about the Libav-user mailing list