OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28eddef
)
prores: Set the bits_per_coded_sample for alpha pix_fmt
author
Luca Barbato
<lu_zero@gentoo.org>
Wed, 22 Apr 2015 18:50:10 +0000
(20:50 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Wed, 22 Apr 2015 18:50:10 +0000
(20:50 +0200)
Improve the compatibility with other software.
libavcodec/proresenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/proresenc.c
b/libavcodec/proresenc.c
index
f61aa60
..
3a5524a
100644
(file)
--- a/
libavcodec/proresenc.c
+++ b/
libavcodec/proresenc.c
@@
-1151,6
+1151,7
@@
static av_cold int encode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "alpha bits should be 0, 8 or 16\n");
return AVERROR(EINVAL);
}
+ avctx->bits_per_coded_sample = 32;
} else {
ctx->alpha_bits = 0;
}