mirror of https://git.ffmpeg.org/ffmpeg.git
h264: fix h264-test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f93f6963ba
commit
ba99474b1d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue