Commit 2dda20e1 authored by bcoudurier's avatar bcoudurier

fix 10 bit per comp detection

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10683 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c0ceccc7
......@@ -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);
if (buf[0x21] & 0x80) {
if (buf[0x21] & 0x40) {
av_log(ctx->avctx, AV_LOG_ERROR, "10 bit per component\n");
return -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment