Browse Source

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

This also avoids a segfault on startup.
tags/n0.11
Diego Biurrun 13 years ago
parent
commit
3856a2aaa6
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      libavcodec/h264.c

+ 0
- 5
libavcodec/h264.c View File

@@ -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");


Loading…
Cancel
Save