Comment on attachment 503489
Latest Gstreamer patch

+static GstFlowReturn gst_fennecvideosink_buffer_alloc(GstBaseSink* aBsink,
+{
+  // Allocate a buffer with new
+  void *newBuffer;

+  // Allocating 128 byte aligned memory.
+  if (posix_memalign(&newBuffer, 128, ROUND_UP(aSize, 128)) != 0)
+    newBuffer = NULL;

+  if (!*aBuf) {
+    // Release the mem we got
+    delete [] newBuffer;

coverity notes that delete (array) is wrong for void*. your allocator
here is posix memalign, so the release should be posix-something not c++
delete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/412647

Title:
  Firefox is not able to play mp4 <video> tags

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to