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

ramiro subversion at mplayerhq.hu
Tue Jul 1 01:49:02 CEST 2008


Author: ramiro
Date: Tue Jul  1 01:49:01 2008
New Revision: 2605

Log:
Warn user about untested feature.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Tue Jul  1 01:49:01 2008
@@ -757,9 +757,11 @@ static int read_block_data(MLPDecodeCont
 {
     unsigned int i, mat, ch, expected_stream_pos = 0;
 
-    if (m->data_check_present[substr])
+    if (m->data_check_present[substr]) {
         expected_stream_pos = get_bits_count(gbp) + get_bits(gbp, 16);
-        /* UNTESTED - find an example stream */
+        av_log(m->avctx, AV_LOG_WARNING, "This file contains some features "
+               "we have not tested yet. %s\n", sample_message);
+    }
 
     if (m->blockpos[substr] + m->blocksize[substr] > m->access_unit_size) {
         av_log(m->avctx, AV_LOG_ERROR, "Too many audio samples in frame\n");



More information about the FFmpeg-soc mailing list