Commit 727af82a authored by Diego Biurrun's avatar Diego Biurrun

jpeglsdec: Remove write-only variable in ff_jpegls_decode_lse().

libavcodec/jpeglsdec.c:54:9: warning: variable ‘len’ set but not used
parent 454b1f9b
...@@ -51,10 +51,9 @@ ...@@ -51,10 +51,9 @@
*/ */
int ff_jpegls_decode_lse(MJpegDecodeContext *s) int ff_jpegls_decode_lse(MJpegDecodeContext *s)
{ {
int len, id; int id;
/* XXX: verify len field validity */ skip_bits(&s->gb, 16); /* length: FIXME: verify field validity */
len = get_bits(&s->gb, 16);
id = get_bits(&s->gb, 8); id = get_bits(&s->gb, 8);
switch(id){ switch(id){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment