1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

h264pred: assert that depth is supported

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-03 03:21:24 +02:00
parent 9c995fe19a
commit 6671c40038

View File

@ -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;
}