[gst-cvs] gst-plugins-bad: cogframe: Remove dead assignments

Edward Hervey bilboed at kemper.freedesktop.org
Thu Nov 25 10:40:57 PST 2010


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

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Thu Nov 25 18:30:56 2010 +0100

cogframe: Remove dead assignments

---

 ext/cog/cogframe.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/ext/cog/cogframe.c b/ext/cog/cogframe.c
index 8da9206..1993bba 100644
--- a/ext/cog/cogframe.c
+++ b/ext/cog/cogframe.c
@@ -56,8 +56,6 @@ cog_frame_new_and_alloc_extended (CogMemoryDomain * domain,
   int h_shift, v_shift;
   int chroma_width;
   int chroma_height;
-  int ext_width;
-  int ext_height;
 
   g_return_val_if_fail (width > 0, NULL);
   g_return_val_if_fail (height > 0, NULL);
@@ -68,9 +66,6 @@ cog_frame_new_and_alloc_extended (CogMemoryDomain * domain,
   frame->domain = domain;
   frame->extension = extension;
 
-  ext_width = width + extension * 2;
-  ext_height = height + extension * 2;
-
   if (COG_FRAME_IS_PACKED (format)) {
     g_return_val_if_fail (extension == 0, NULL);
 





More information about the Gstreamer-commits mailing list