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
prores: Set the bits_per_coded_sample for alpha pix_fmt
Improve the compatibility with other software.
tags/n2.7
Luca Barbato
10 years ago
parent
28eddef689
commit
0a51c7d42a
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/proresenc.c
+ 1
- 0
libavcodec/proresenc.c
View File
@@ -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");
av_log(avctx, AV_LOG_ERROR, "alpha bits should be 0, 8 or 16\n");
return AVERROR(EINVAL);
return AVERROR(EINVAL);
}
}
avctx->bits_per_coded_sample = 32;
} else {
} else {
ctx->alpha_bits = 0;
ctx->alpha_bits = 0;
}
}
Write
Preview
Loading…
Cancel
Save