changeset 5791:562c3853f8dc libavcodec

fix 10 bit per comp detection
author bcoudurier
date Mon, 08 Oct 2007 12:08:42 +0000
parents c3f2a6425d2d
children aa620757cceb
files dnxhddec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dnxhddec.c	Mon Oct 08 11:27:18 2007 +0000
+++ b/dnxhddec.c	Mon Oct 08 12:08:42 2007 +0000
@@ -108,7 +108,7 @@
 
     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;
     }