﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
1855	mythdvd and via xvmc segfaults on prev chapter when in first chapter	mythdev@…	skamithi	"Using previous chapter when there isn't one segfaults under via xvmc,
doesn't segfault if not xvmc.

Attached patch stops segfault and seems ok - but I don't know the code well enough (don't know it at all actually) to know whether this will create a memory leak/other problems.

The problem is in the line ca 2750 in libavcodec/mpeg12.c
{{{
 s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_MPEG2;
}}}
  because in the segv circumstances  current_picture_ptr is 0x0"	defect	closed	minor	0.20	mythtv	head	medium	invalid			0
