mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
jpegdec: Remove unused variable
Conflicts: ext/jpeg/gstjpegdec.c
This commit is contained in:
parent
d811797186
commit
d243fb9178
2 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue