]> git.sesse.net Git - vlc/commitdiff
Truncated packet debug message -- state reported vs. actual length, not the delta.
authorMark Moriarty <markfm@videolan.org>
Sun, 24 Oct 2004 15:56:37 +0000 (15:56 +0000)
committerMark Moriarty <markfm@videolan.org>
Sun, 24 Oct 2004 15:56:37 +0000 (15:56 +0000)
modules/access/mms/mmstu.c

index 79b4211ebf6261770b45e29886b655cfbc5e7fa0..5bec91252286713442c1e349307d5711283c1a8a 100644 (file)
@@ -1211,8 +1211,8 @@ static int  mms_ParsePacket( access_t *p_access,
     if( i_packet_length > i_data || i_packet_length <= 8)
     {
         msg_Dbg( p_access,
-                 "truncated packet (missing %d bytes)",
-                 i_packet_length - i_data  );
+                 "truncated packet (Declared %d bytes, Actual %d bytes)",
+                 i_packet_length, i_data  );
         *pi_used = 0;
         return -1;
     }