1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 02:52:10 +00:00

ad_spdif: don't print uninitialized value in debug message

This commit is contained in:
wm4 2012-11-01 01:10:37 +01:00
parent c6ce1d4b99
commit fc656c6bcc

View File

@ -250,8 +250,8 @@ static int decode_audio(sh_audio_t *sh, unsigned char *buf,
consumed = ds_parse(sh->ds, &start, &x, pts, 0);
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[%p] in_size[%d] consumed[%d] x[%d].\n",
start, in_size, consumed, x);
continue; // END_NOT_FOUND
}
sh->ds->buffer_pos -= in_size - consumed;