[MPlayer-cvslog] r35400 - trunk/libmpcodecs/ad_spdif.c

reimar subversion at mplayerhq.hu
Sat Nov 10 14:39:01 CET 2012


Author: reimar
Date: Sat Nov 10 14:39:01 2012
New Revision: 35400

Log:
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.

Modified:
   trunk/libmpcodecs/ad_spdif.c

Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c	Sat Nov 10 14:31:32 2012	(r35399)
+++ trunk/libmpcodecs/ad_spdif.c	Sat Nov 10 14:39:01 2012	(r35400)
@@ -252,7 +252,7 @@ static int decode_audio(sh_audio_t *sh, 
             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;


More information about the MPlayer-cvslog mailing list