]> git.sesse.net Git - mlt/commit
videostab/filter_videostab*.c: check return value from mlt_filter_new()
authorMikko Rapeli <mikko.rapeli@iki.fi>
Wed, 1 Aug 2012 15:44:20 +0000 (17:44 +0200)
committerMikko Rapeli <mikko.rapeli@iki.fi>
Mon, 6 Aug 2012 16:37:29 +0000 (18:37 +0200)
commit0bfe8d8950d59b15bb4536b402c30090f87c268d
treeae294281a02cdc724b857c461c2ab512a4272877
parent5c25422f221c534b17612e1617935c88fbafcf10
videostab/filter_videostab*.c: check return value from mlt_filter_new()

Fixes Coverity CID 709365 and 709366:
Dereference null return value (NULL_RETURNS)
Function "mlt_filter_new" returns null (checked 50 out of 52 times). [show details]
Assigning: "parent" = null return value from "mlt_filter_new".
201                mlt_filter parent = mlt_filter_new();
Dereferencing a null pointer "parent".
202                parent->child = self;
src/modules/videostab/filter_videostab.c
src/modules/videostab/filter_videostab2.c