vtdec: fix refcount error in error handling

https://bugzilla.gnome.org/show_bug.cgi?id=751641
This commit is contained in:
Ilya Konstantinov 2015-06-29 12:40:55 +03:00 committed by Sebastian Dröge
parent 153bb7b273
commit cc3d79f7cc

View file

@ -606,9 +606,6 @@ sample_error:
GST_ELEMENT_ERROR (vtdec, RESOURCE, FAILED, (NULL),
("CMSampleBufferCreate returned %d", (int) status));
if (bbuf)
CFRelease (bbuf);
goto out;
}