diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 82b7acd1ee..cee16e7577 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4109,10 +4109,10 @@ int main(void){ uint8_t temp[SIZE]; PutBitContext pb; GetBitContext gb; -// int int_temp[10000]; DSPContext dsp; AVCodecContext avctx; + avctx.av_class = avcodec_get_class(); dsputil_init(&dsp, &avctx); init_put_bits(&pb, temp, SIZE);