[FFmpeg-soc] [soc]: r1657 - dirac/libavcodec/dirac.h

marco subversion at mplayerhq.hu
Sun Dec 23 14:56:33 CET 2007


Author: marco
Date: Sun Dec 23 14:56:33 2007
New Revision: 1657

Log:
Use 0 as default value for block DC prediction

Modified:
   dirac/libavcodec/dirac.h

Modified: dirac/libavcodec/dirac.h
==============================================================================
--- dirac/libavcodec/dirac.h	(original)
+++ dirac/libavcodec/dirac.h	Sun Dec 23 14:56:33 2007
@@ -567,7 +567,7 @@ int block_dc_prediction(DiracContext *s,
     }
 
     if (cnt == 0)
-        return 1 << (s->sequence.video_depth - 1);
+        return 0;
 
     sign = FFSIGN(total);
     total = FFABS(total);



More information about the FFmpeg-soc mailing list