diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-01-30 11:10:27 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-01-31 19:56:09 +0100 |
commit | 3856a2aaa6a44d80da597e932e9d475bda8546bd (patch) | |
tree | dafe0c9157fe84f510383329a37c5a73aa74852f | |
parent | b010178e84c950cf9b1a8b9c94ecaca79bd41895 (diff) | |
download | ffmpeg-3856a2aaa6a44d80da597e932e9d475bda8546bd.tar.gz |
h264-test: Remove unused DSP and AVCodec contexts and related init calls.
This also avoids a segfault on startup.
-rw-r--r-- | libavcodec/h264.c | 5 |
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"); |