Commit 9c995fe1 authored by Michael Niedermayer's avatar Michael Niedermayer

h264dsp: assert that depth is supported

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5a1bbb3a
......@@ -26,6 +26,7 @@
*/
#include <stdint.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "h264dsp.h"
......@@ -107,6 +108,7 @@ void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_fo
H264_DSP(10);
break;
default:
av_assert0(bit_depth<=8);
H264_DSP(8);
break;
}
......
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