Re: [Mlt-devel] Crash on avformat producer [Patch]
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2010-10-19 04:21:47
|
On Thu, Oct 14, 2010 at 4:47 PM, j-b-m <j-...@us...> wrote: > Hi. > > Working on Kdenlive's clip properties dialog, I noticed a reproducible crash > when forcing a clip's aspect ratio and then resetting it to default. I fixed this with a different patch. > In Kdenlive, when we want to reset a property, we use for example: > > producer->set("force_aspect_ratio", (const char*) NULL); > > Is there a better way to remove a property? That should do it, but somehow a property is not getting removed but rather its string value is set NULL. So, I added checks to passing a NULL pointer to functions like atof and atoi. |