diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-10-08 16:08:42 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-10-08 16:08:42 +0400 |
commit | 42d1ffa3a27d5f8bb162c6bbc99bf8631883ba8b (patch) | |
tree | 5fc5ec4269adfa08ccf612572489291b6ea2f419 /libavcodec/dnxhddec.c | |
parent | fc4cbc169968a5fb5ea85b8b41d4f7e020b30591 (diff) |
fix 10 bit per comp detection
Originally committed as revision 10683 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r-- | libavcodec/dnxhddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 703fb0c1a2..3452d49629 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -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; } |