This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Set bits_per_raw_sample when reading j2k frames.
tags/n2.1
Carl Eugen Hoyos
11 years ago
parent
7412a4a48f
commit
f99f7f4025
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/jpeg2000dec.c
+ 1
- 0
libavcodec/jpeg2000dec.c
View File
@@ -350,6 +350,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
ncomponents > 2 ? s->cdx[2] : 0,
ncomponents > 2 ? s->cdy[2] : 0);
}
s->avctx->bits_per_raw_sample = s->precision;
return 0;
}
Write
Preview
Loading…
Cancel
Save