OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c3c01d
)
Correct a forgotten RGB32.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 10 Dec 2009 19:40:15 +0000
(19:40 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 10 Dec 2009 19:40:15 +0000
(19:40 +0000)
Originally committed as revision 20791 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ljpegenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ljpegenc.c
b/libavcodec/ljpegenc.c
index
6c9f058
..
566723d
100644
(file)
--- a/
libavcodec/ljpegenc.c
+++ b/
libavcodec/ljpegenc.c
@@
-56,7
+56,7
@@
static int encode_picture_lossless(AVCodecContext *avctx, unsigned char *buf, in
s->header_bits= put_bits_count(&s->pb);
- if(avctx->pix_fmt == PIX_FMT_
RGB32
){
+ if(avctx->pix_fmt == PIX_FMT_
BGRA
){
int x, y, i;
const int linesize= p->linesize[0];
uint16_t (*buffer)[4]= (void *) s->rd_scratchpad;