From: Edward Hervey Date: Thu, 17 May 2012 07:34:03 +0000 (+0200) Subject: jpegdec: Remove unused variable X-Git-Tag: 1.19.3~509^2~7042 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d243fb917805f49756ca17ff27301efef9c45bed;p=platform%2Fupstream%2Fgstreamer.git jpegdec: Remove unused variable Conflicts: ext/jpeg/gstjpegdec.c --- diff --git a/ext/jpeg/gstjpegdec.c b/ext/jpeg/gstjpegdec.c index 8e3c3de..faa3b7e 100644 --- a/ext/jpeg/gstjpegdec.c +++ b/ext/jpeg/gstjpegdec.c @@ -508,7 +508,6 @@ gst_jpeg_dec_parse (GstVideoDecoder * bdec, GstVideoCodecFrame * frame, /* clear parse state */ dec->saw_header = FALSE; dec->parse_resync = FALSE; - dec->parse_offset = 0; toadd = offset + 4; goto have_full_frame; } @@ -516,7 +515,6 @@ gst_jpeg_dec_parse (GstVideoDecoder * bdec, GstVideoCodecFrame * frame, /* Skip this frame if we found another SOI marker */ GST_DEBUG ("0x%08x: SOI marker before EOI, skipping", offset + 2); dec->parse_resync = FALSE; - dec->parse_offset = 0; /* FIXME : Need to skip data */ toadd -= offset + 2; goto have_full_frame; @@ -1475,7 +1473,6 @@ gst_jpeg_dec_start (GstVideoDecoder * bdec) GstJpegDec *dec = (GstJpegDec *) bdec; dec->error_count = 0; - dec->parse_offset = 0; dec->parse_entropy_len = 0; dec->parse_resync = FALSE; diff --git a/ext/jpeg/gstjpegdec.h b/ext/jpeg/gstjpegdec.h index 5dc645e..f9f33ae 100644 --- a/ext/jpeg/gstjpegdec.h +++ b/ext/jpeg/gstjpegdec.h @@ -76,7 +76,6 @@ struct _GstJpegDec { /* parse state */ gboolean saw_header; - gint parse_offset; gint parse_entropy_len; gint parse_resync;