changeset 24502:0266e095b2d7

Make one mp_msg call out of 3
author reimar
date Sat, 15 Sep 2007 11:35:35 +0000
parents 0d9578ee65cf
children 5a70ac2aea03
files libmpdemux/demux_ty.c
diffstat 1 files changed, 5 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Sat Sep 15 11:33:31 2007 +0000
+++ b/libmpdemux/demux_ty.c	Sat Sep 15 11:35:35 2007 +0000
@@ -149,24 +149,12 @@
          tivo->tmfparts[ parts ].fileSize = size;
          tivo->tmfparts[ parts ].startOffset = stream_tell(demux->stream);
          tivo->tmfparts[ parts ].chunks = size / CHUNKSIZE;
-         mp_msg
-         (
-            MSGT_DEMUX, MSGL_DBG3,
-           "tmf_filetoparts(): index %d, chunks %d\n",
-            parts,
-            tivo->tmfparts[ parts ].chunks
-         );
-         mp_msg
-         (
-            MSGT_DEMUX, MSGL_DBG3,
-           "tmf_filetoparts(): size %"PRId64"\n",
-           tivo->tmfparts[ parts ].fileSize
-         );
-         mp_msg
-         (
-            MSGT_DEMUX, MSGL_DBG3,
+         mp_msg(MSGT_DEMUX, MSGL_DBG3,
+           "tmf_filetoparts(): index %d, chunks %d\n"
+           "tmf_filetoparts(): size %"PRId64"\n"
            "tmf_filetoparts(): startOffset %"PRId64"\n",
-           tivo->tmfparts[ parts ].startOffset
+           parts, tivo->tmfparts[ parts ].chunks,
+           tivo->tmfparts[ parts ].fileSize, tivo->tmfparts[ parts ].startOffset
          );
          parts++;
       }