[Ffmpeg-devel] [PATCH] VC1 init fail and crash

Reimar Doeffinger Reimar.Doeffinger
Thu Jun 29 13:44:25 CEST 2006

On Thu, Jun 29, 2006 at 02:25:28PM +0300, Kostya wrote:
> Applied (I suspect flag EMU_EDGE does not change anything though).

It does, because without it, in mpegvideo.c, this is executed

draw_edges(s->current_picture.data[0], s->linesize  , s->h_edge_pos   , s->v_edge_pos   , EDGE_WIDTH  );

Which accesses s->current_picture.data[0][-8], which is before the
memory allocated and thus crashed for me. Surprising that nobody else
had that problem though *g*

Reimar D?ffinger

More information about the ffmpeg-devel mailing list