diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index 57fa0d340c..a1371aa5f1 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -392,7 +392,6 @@ static int demux_audio_open(demuxer_t* demuxer) { l -= 16; if (l >= 2) { w->cbSize = stream_read_word_le(s); - if (w->cbSize < 0) w->cbSize = 0; l -= 2; if (l < w->cbSize) { mp_msg(MSGT_DEMUX,MSGL_ERR,"[demux_audio] truncated extradata (%d < %d)\n",