Commit c0997833 authored by Paul B Mahol's avatar Paul B Mahol

avformat/nsvdec: remove case which is no longer possible

Check of channels !=0 is right above.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent a6f9a5d0
......@@ -630,10 +630,7 @@ null_chunk_retry:
if (bps != 16) {
av_dlog(s, "NSV AUDIO bit/sample != 16 (%d)!!!\n", bps);
}
if(channels)
bps /= channels; // ???
else
av_log(s, AV_LOG_WARNING, "Channels is 0\n");
bps /= channels; // ???
if (bps == 8)
st[NSV_ST_AUDIO]->codec->codec_id = AV_CODEC_ID_PCM_U8;
samplerate /= 4;/* UGH ??? XXX */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment