aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-07-25 01:19:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-07-25 01:19:40 +0200
commit14d5e214bfb56f08b1d34d13758c1e56a59c8c99 (patch)
tree32ebdb64e86373a84a8fedc29ab535c452011a57
parent88084eecdfd163802a47501935408acbe07b1691 (diff)
parent8c0fa61a9713a1306fca7997dd04d72ea1f060ea (diff)
downloadffmpeg-14d5e214bfb56f08b1d34d13758c1e56a59c8c99.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: jpegdec: actually search for and parse RSTn Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/mjpegdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 101e7b59e6..a75dba4d8d 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -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;
align_get_bits(&s->gb);
while(show_bits(&s->gb, 8) == 0xFF)