Commit 3856a2aa authored by Diego Biurrun's avatar Diego Biurrun

h264-test: Remove unused DSP and AVCodec contexts and related init calls.

This also avoids a segfault on startup.
parent b010178e
...@@ -4109,11 +4109,6 @@ int main(void){ ...@@ -4109,11 +4109,6 @@ int main(void){
uint8_t temp[SIZE]; uint8_t temp[SIZE];
PutBitContext pb; PutBitContext pb;
GetBitContext gb; GetBitContext gb;
DSPContext dsp;
AVCodecContext avctx;
avctx.av_class = avcodec_get_class();
dsputil_init(&dsp, &avctx);
init_put_bits(&pb, temp, SIZE); init_put_bits(&pb, temp, SIZE);
printf("testing unsigned exp golomb\n"); printf("testing unsigned exp golomb\n");
......
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