]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugins-ugly0-10.git/blobdiff - ext/x264/gstx264enc.c
x264enc: remove useless and semantically (though not practically) wrong code
[glsdk/gst-plugins-ugly0-10.git] / ext / x264 / gstx264enc.c
index 2be3dd3b9ca7d5646b3b5f23968763be9ebd81cf..ea3cf0bf9ca3581209b8c45c0828f50fd2ced27b 100644 (file)
@@ -962,7 +962,7 @@ gst_x264_enc_finalize (GObject * object)
 
 #define FREE_STRING(ptr) \
   if (ptr) \
 
 #define FREE_STRING(ptr) \
   if (ptr) \
-    ptr = (GString *)g_string_free (ptr, TRUE);
+    g_string_free (ptr, TRUE);
 
   FREE_STRING (encoder->tunings);
   FREE_STRING (encoder->option_string);
 
   FREE_STRING (encoder->tunings);
   FREE_STRING (encoder->option_string);