mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 08:12:44 +00:00
fix 10 bit per comp detection
Originally committed as revision 10683 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fc4cbc1699
commit
42d1ffa3a2
@ -108,7 +108,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, uint8_t *buf, int buf_size, in
|
|||||||
|
|
||||||
dprintf(ctx->avctx, "width %d, heigth %d\n", ctx->width, ctx->height);
|
dprintf(ctx->avctx, "width %d, heigth %d\n", ctx->width, ctx->height);
|
||||||
|
|
||||||
if (buf[0x21] & 0x80) {
|
if (buf[0x21] & 0x40) {
|
||||||
av_log(ctx->avctx, AV_LOG_ERROR, "10 bit per component\n");
|
av_log(ctx->avctx, AV_LOG_ERROR, "10 bit per component\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user