changeset 35306:f30c2707e168

Do not use pkt which is uninitialized at that point. Print a 0 instead to keep the format the same as for the printout further down.
author reimar
date Sat, 10 Nov 2012 13:39:01 +0000
parents caa2267e0cc6
children 57027e8acb11
files libmpcodecs/ad_spdif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_spdif.c	Sat Nov 10 13:31:32 2012 +0000
+++ b/libmpcodecs/ad_spdif.c	Sat Nov 10 13:39:01 2012 +0000
@@ -252,7 +252,7 @@
             if (x == 0) {
                 mp_msg(MSGT_DECAUDIO,MSGL_V,
                        "start[%p] pkt.size[%d] in_size[%d] consumed[%d] x[%d].\n",
-                       start, pkt.size, in_size, consumed, x);
+                       start, 0, in_size, consumed, x);
                 continue; // END_NOT_FOUND
             }
             sh->ds->buffer_pos -= in_size - consumed;