Commit 6671c400 authored by Michael Niedermayer's avatar Michael Niedermayer

h264pred: assert that depth is supported

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9c995fe1
......@@ -25,6 +25,7 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
#include "libavutil/avassert.h"
#include "h264pred.h"
#define BIT_DEPTH 8
......@@ -528,6 +529,7 @@ void ff_h264_pred_init(H264PredContext *h, int codec_id, const int bit_depth, co
H264_PRED(10)
break;
default:
av_assert0(bit_depth<=8);
H264_PRED(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