Commit 14d5e214 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  jpegdec: actually search for and parse RSTn
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 88084eec 8c0fa61a
...@@ -881,7 +881,7 @@ static int mjpeg_decode_scan(MJpegDecodeContext *s, int nb_components, int Ah, i ...@@ -881,7 +881,7 @@ static int mjpeg_decode_scan(MJpegDecodeContext *s, int nb_components, int Ah, i
} }
} }
if (s->restart_interval && show_bits(&s->gb, 8) == 0xFF){/* skip RSTn */ if (s->restart_interval && show_bits(&s->gb, 8) == 0xFF){ /* skip RSTn */
--s->restart_count; --s->restart_count;
align_get_bits(&s->gb); align_get_bits(&s->gb);
while(show_bits(&s->gb, 8) == 0xFF) while(show_bits(&s->gb, 8) == 0xFF)
......
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