[FFmpeg-soc] [soc]: r2671 - mlp/mlpdec.c

ramiro subversion at mplayerhq.hu
Thu Jul 3 15:12:45 CEST 2008


Author: ramiro
Date: Thu Jul  3 15:12:44 2008
New Revision: 2671

Log:
Use max_decoded_substream instead of substr-1. They're always the same.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Thu Jul  3 15:12:44 2008
@@ -1151,9 +1151,9 @@ next_substr:
         buf += substream_data_len[substr];
     }
 
-    rematrix_channels(m, substr - 1);
+    rematrix_channels(m, m->max_decoded_substream);
 
-    if (output_data(m, substr - 1, data, data_size) < 0)
+    if (output_data(m, m->max_decoded_substream, data, data_size) < 0)
         return -1;
 
     return length;



More information about the FFmpeg-soc mailing list