gst-plugins-ugly: amrnbdec: remove leftover extraneous _unref

Mark Nauwelaerts mnauw at kemper.freedesktop.org
Wed Oct 5 03:11:22 PDT 2011


Module: gst-plugins-ugly
Branch: master
Commit: bf3e10992b493788958f78ee4f38aeb8e71f7863
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=bf3e10992b493788958f78ee4f38aeb8e71f7863

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Tue Oct  4 17:00:41 2011 +0200

amrnbdec: remove leftover extraneous _unref

---

 ext/amrnb/amrnbdec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/ext/amrnb/amrnbdec.c b/ext/amrnb/amrnbdec.c
index a6f83ec..a2ac5f3 100644
--- a/ext/amrnb/amrnbdec.c
+++ b/ext/amrnb/amrnbdec.c
@@ -322,7 +322,6 @@ not_negotiated:
   {
     GST_ELEMENT_ERROR (amrnbdec, STREAM, TYPE_NOT_FOUND, (NULL),
         ("Decoder is not initialized"));
-    gst_object_unref (amrnbdec);
     return GST_FLOW_NOT_NEGOTIATED;
   }
 }



More information about the gstreamer-commits mailing list