[FFmpeg-soc] [soc]: r3476 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Tue Aug 19 22:44:33 CEST 2008
Author: ramiro
Date: Tue Aug 19 22:44:32 2008
New Revision: 3476
Log:
Fix compare_primitive_matrices().
Modified:
mlp/mlpenc.c
Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c (original)
+++ mlp/mlpenc.c Tue Aug 19 22:44:32 2008
@@ -1080,9 +1080,12 @@ static int compare_primitive_matrices(De
{
unsigned int channel, mat;
- if (dp->num_primitive_matrices != dp->num_primitive_matrices)
+ if (prev->num_primitive_matrices != dp->num_primitive_matrices)
return 1;
+ if (!prev->num_primitive_matrices)
+ return 0;
+
for (channel = 0; channel < MAX_CHANNELS; channel++)
if (prev->frac_bits[channel] != dp->frac_bits[channel])
return 1;
More information about the FFmpeg-soc
mailing list