Commit ba99474b authored by Michael Niedermayer's avatar Michael Niedermayer

h264: fix h264-test

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f93f6963
......@@ -3870,6 +3870,7 @@ static inline void fill_mb_avail(H264Context *h){
#undef random
#define COUNT 8000
#define SIZE (COUNT*40)
extern AVCodec ff_h264_decoder;
int main(void){
int i;
uint8_t temp[SIZE];
......@@ -3879,6 +3880,8 @@ int main(void){
DSPContext dsp;
AVCodecContext avctx;
avcodec_get_context_defaults3(&avctx, &ff_h264_decoder);
dsputil_init(&dsp, &avctx);
init_put_bits(&pb, temp, SIZE);
......
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