[FFmpeg-cvslog] r10683 - trunk/libavcodec/dnxhddec.c

bcoudurier subversion
Mon Oct 8 14:08:42 CEST 2007


Author: bcoudurier
Date: Mon Oct  8 14:08:42 2007
New Revision: 10683

Log:
fix 10 bit per comp detection

Modified:
   trunk/libavcodec/dnxhddec.c

Modified: trunk/libavcodec/dnxhddec.c
==============================================================================
--- trunk/libavcodec/dnxhddec.c	(original)
+++ trunk/libavcodec/dnxhddec.c	Mon Oct  8 14:08:42 2007
@@ -108,7 +108,7 @@ static int dnxhd_decode_header(DNXHDCont
 
     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;
     }




More information about the ffmpeg-cvslog mailing list