# HG changeset patch # User reimar # Date 1352554741 0 # Node ID f30c2707e1683c7a2793d6102d1f209d6e82de56 # Parent caa2267e0cc643aa04fcb5141370646184a757d3 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. diff -r caa2267e0cc6 -r f30c2707e168 libmpcodecs/ad_spdif.c --- 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;