jpegdec: Remove unused variable

Conflicts:

	ext/jpeg/gstjpegdec.c
This commit is contained in:
Edward Hervey 2012-05-17 09:34:03 +02:00 committed by Sebastian Dröge
parent d811797186
commit d243fb9178
2 changed files with 0 additions and 4 deletions

View file

@ -508,7 +508,6 @@ gst_jpeg_dec_parse (GstVideoDecoder * bdec, GstVideoCodecFrame * frame,
/* clear parse state */ /* clear parse state */
dec->saw_header = FALSE; dec->saw_header = FALSE;
dec->parse_resync = FALSE; dec->parse_resync = FALSE;
dec->parse_offset = 0;
toadd = offset + 4; toadd = offset + 4;
goto have_full_frame; 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 */ /* Skip this frame if we found another SOI marker */
GST_DEBUG ("0x%08x: SOI marker before EOI, skipping", offset + 2); GST_DEBUG ("0x%08x: SOI marker before EOI, skipping", offset + 2);
dec->parse_resync = FALSE; dec->parse_resync = FALSE;
dec->parse_offset = 0;
/* FIXME : Need to skip data */ /* FIXME : Need to skip data */
toadd -= offset + 2; toadd -= offset + 2;
goto have_full_frame; goto have_full_frame;
@ -1475,7 +1473,6 @@ gst_jpeg_dec_start (GstVideoDecoder * bdec)
GstJpegDec *dec = (GstJpegDec *) bdec; GstJpegDec *dec = (GstJpegDec *) bdec;
dec->error_count = 0; dec->error_count = 0;
dec->parse_offset = 0;
dec->parse_entropy_len = 0; dec->parse_entropy_len = 0;
dec->parse_resync = FALSE; dec->parse_resync = FALSE;

View file

@ -76,7 +76,6 @@ struct _GstJpegDec {
/* parse state */ /* parse state */
gboolean saw_header; gboolean saw_header;
gint parse_offset;
gint parse_entropy_len; gint parse_entropy_len;
gint parse_resync; gint parse_resync;