Michael Niedermayer
9e9ec5ad2a
smvjpegdec: No frame at all is an error
...
This fixes a infinite loop
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-08 20:02:22 +02:00
Michael Niedermayer
56abad0ee4
avcodec/smvjpegdec: copy palette too
...
Fixes out of array access
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-08 01:20:55 +02:00
Michael Niedermayer
5b9917ec2b
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Do not offer smvjpeg lowres capabilities, the decoder does not support it.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-07 21:38:54 +02:00
Michael Niedermayer
467e7a8f26
avcodec/smvjpegdec: check that frames_per_jpeg cleanly divides height
...
Fixes out of array access
If some valid files fail this check then please open a ticket and ping me and the smvjpegdec maintainer.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-07 20:39:05 +02:00
Carl Eugen Hoyos
7ce011e054
Do not offer smvjpeg lowres capabilities, the decoder does not support it.
...
Reviewed-by: Ash Hughes
2013-06-07 19:40:03 +02:00
Michael Niedermayer
bce2ed5559
smvjpegdec: only extract picture when a picture has been decoded.
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-07 14:36:45 +02:00
Michael Niedermayer
455ae871a8
libavcodec/smvjpegdec: pass flags / idct algo into jpeg avctx
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-30 03:30:01 +02:00
Michael Niedermayer
df3ee7b9a9
smvjpegdec: use av_pix_fmt_desc_get() avoid direct table access
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-22 20:24:50 +02:00
Ash Hughes
14ec9d2590
Support playing SMV files.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-22 15:20:22 +02:00