summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-30 11:10:27 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-31 19:56:09 +0100
commit3856a2aaa6a44d80da597e932e9d475bda8546bd (patch)
treedafe0c9157fe84f510383329a37c5a73aa74852f /libavcodec/h264.c
parentb010178e84c950cf9b1a8b9c94ecaca79bd41895 (diff)
h264-test: Remove unused DSP and AVCodec contexts and related init calls.
This also avoids a segfault on startup.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 581848be16..8b8c4fec1c 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4109,11 +4109,6 @@ int main(void){
uint8_t temp[SIZE];
PutBitContext pb;
GetBitContext gb;
- DSPContext dsp;
- AVCodecContext avctx;
-
- avctx.av_class = avcodec_get_class();
- dsputil_init(&dsp, &avctx);
init_put_bits(&pb, temp, SIZE);
printf("testing unsigned exp golomb\n");