diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-01-28 09:34:31 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-01-28 17:57:48 +0000 |
commit | c099783316cf706c61e97256778fb77635f5e6e8 (patch) | |
tree | 9bdc5981e5bb6fe32b009407f42fac6a52b3008a | |
parent | a6f9a5d0f63500564d857df12269a1c6e43bd563 (diff) | |
download | ffmpeg-c099783316cf706c61e97256778fb77635f5e6e8.tar.gz |
avformat/nsvdec: remove case which is no longer possible
Check of channels !=0 is right above.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/nsvdec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index 531e2732a7..632667ca97 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -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 */ |