Michael Niedermayer
|
dc7ba0c1f4
|
j2kdec: remove unused variable and empty function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Paul B Mahol
|
4012cd6c4f
|
lavc: fix decode_frame() third parameter semantics for rest of video decoders
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
12 years ago |
Michael Niedermayer
|
bc077ca6b5
|
j2kdec: remove unneeded operation
Fixes CID717554
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
1e6cbb01e9
|
j2kdec: make curtilenum integer.
This fixes a potential crash.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Michael Niedermayer
|
0de0ae5a20
|
tag_tree_decode: check node being non null
Fixes CID717843
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
12 years ago |
Paul B Mahol
|
be32145e9d
|
j2kdec: move s->avctx initialization to j2kdec_init()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
13 years ago |
Paul B Mahol
|
29e9f83192
|
j2kdec: check colorspace ncomponents
This prevents out of array read.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
13 years ago |
Michael Niedermayer
|
cb9fe2745b
|
j2kdec: fix format strings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
1cd8510912
|
j2kdec: move ff_j2k_init_tier1_luts() to j2kdec_init()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
0f3886fa7d
|
j2kdec: remove pointless swapping
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
ebbf10efb0
|
j2kdec: vertically align AVCodec members
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
75625c6138
|
j2kdec: Remove useless .pix_fmts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
ddfa3751c0
|
j2kdec: convert to bytestream2 API
Protects against overreads.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Reimar Döffinger
|
4cef928ef7
|
j2kdec: Fix memleak, ensure cleanup is called also on error.
Fixes valgrind fate with fate-suite/r3d/4MB-sample.r3d.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
|
13 years ago |
Paul B Mahol
|
3e8a368b2b
|
lavc: constify enums for .pix_fmts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
7099f36578
|
lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_*
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Jean First
|
b103156235
|
j2kdec: av_log formatting use %tx instead of %x
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Paul B Mahol
|
c0f7c574e9
|
Cosmetics: Replace -1 with PIX_FMT_NONE.
|
13 years ago |
Paul B Mahol
|
ba10207bbe
|
Use more designated initializers.
Also remove some pointless NULL/0 assigments.
C++ code must be left as it is because named struct
initializers are not supported by C++ standard.
|
13 years ago |
Michael Niedermayer
|
282bb02839
|
j2kdec: Fix crash in get_qcx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
3eedf9f716
|
j2kdec: Check curtileno for validity
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
3132999fdb
|
j2kdec: Check for interger overflow in tile array allocation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
628c9dcca3
|
j2kdec: fix division by zero, check tile dimensions for validity
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
640424e080
|
j2kdec: fix 10l typo in initializing sgnd.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Clément Bœsch
|
454f165728
|
j2kdec: fix a bunch of const compiler warnings.
|
13 years ago |
Michael Niedermayer
|
abe17c6963
|
j2kdec: debug markers support.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Laurent Aimar
|
02660a8713
|
Check for out of bound reads in jpeg 2000 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Carl Eugen Hoyos
|
75f26a6f0b
|
Use "JPEG 2000" as long name for j2k.
|
13 years ago |
Nicolas George
|
6d98e2db35
|
j2kdec: use correct printf format.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Michael Niedermayer
|
2fbf691038
|
j2kenc: Fix use of value before its initialized.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
13 years ago |
Carl Eugen Hoyos
|
9e4cb03a93
|
Fix "mixed declarations and code" warnings.
|
14 years ago |
Michael Niedermayer
|
c1daf0723c
|
j2kdec: dont fail on non zero cblock style.
This allows decoding to continue a bit further for some files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
14 years ago |
Michael Niedermayer
|
df0adc806b
|
j2kdec: mark as CODEC_CAP_EXPERIMENTAL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
14 years ago |
Rukhsana Ruby
|
88e9397ef1
|
j2k[c/h] j2kdec.c: Implement 2 code block styles
|
14 years ago |
Kamil Nowosad
|
83654c7b1b
|
Add Kamil Nowosads j2k code.
This needs work but it should not rot in soc svn.
|
14 years ago |