mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/vp9dsp: Replace assert by av_assert0()
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b28d5c49f7
commit
a6153977df
|
@ -21,6 +21,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "vp9dsp.h"
|
||||
|
||||
|
@ -31,7 +32,7 @@ av_cold void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp)
|
|||
} else if (bpp == 10) {
|
||||
ff_vp9dsp_init_10(dsp);
|
||||
} else {
|
||||
assert(bpp == 12);
|
||||
av_assert0(bpp == 12);
|
||||
ff_vp9dsp_init_12(dsp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue