You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +02:00
jpeglsdec: Remove write-only variable in ff_jpegls_decode_lse().
libavcodec/jpeglsdec.c:54:9: warning: variable ‘len’ set but not used
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user