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:
parent
c6ce1d4b99
commit
fc656c6bcc
@ -250,8 +250,8 @@ static int decode_audio(sh_audio_t *sh, unsigned char *buf,
|
|||||||
consumed = ds_parse(sh->ds, &start, &x, pts, 0);
|
consumed = ds_parse(sh->ds, &start, &x, pts, 0);
|
||||||
if (x == 0) {
|
if (x == 0) {
|
||||||
mp_msg(MSGT_DECAUDIO,MSGL_V,
|
mp_msg(MSGT_DECAUDIO,MSGL_V,
|
||||||
"start[%p] pkt.size[%d] in_size[%d] consumed[%d] x[%d].\n",
|
"start[%p] in_size[%d] consumed[%d] x[%d].\n",
|
||||||
start, pkt.size, in_size, consumed, x);
|
start, in_size, consumed, x);
|
||||||
continue; // END_NOT_FOUND
|
continue; // END_NOT_FOUND
|
||||||
}
|
}
|
||||||
sh->ds->buffer_pos -= in_size - consumed;
|
sh->ds->buffer_pos -= in_size - consumed;
|
||||||
|
Loading…
Reference in New Issue
Block a user