avcodec/adpcm: use assert for codec id instead or error return
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 31 Dec 2018 17:45:25 +0000 (18:45 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 1 Jan 2019 20:11:47 +0000 (21:11 +0100)
commit2d9fe6321e320f9cef2a767af30a7b5b2f65d799
tree6d0f64f579e839f5fe014e15bb2ca7338b4985d9
parent5079eca22a16e91da4c3d7bb1505a894c6ec4dc3
avcodec/adpcm: use assert for codec id instead or error return

A unsupported codec_id is a internal error and should not happen

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/adpcm.c