You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
h264: fix h264-test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user