git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98bf484
)
Zero number of current scan after decoding one picture.
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 21 Sep 2006 04:28:46 +0000
(
04:28
+0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Thu, 21 Sep 2006 04:28:46 +0000
(
04:28
+0000)
This fixes grayscale JPEG-LS decoding.
Originally committed as revision 6306 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mjpeg.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpeg.c
b/libavcodec/mjpeg.c
index
dffd989
..
a232b26
100644
(file)
--- a/
libavcodec/mjpeg.c
+++ b/
libavcodec/mjpeg.c
@@
-2039,6
+2039,7
@@
static int mjpeg_decode_frame(AVCodecContext *avctx,
return -1;
break;
case EOI:
+ s->cur_scan = 0;
if ((s->buggy_avid && !s->interlaced) || s->restart_interval)
break;
eoi_parser: