Module: libav
Branch: master
Commit: 3856a2aaa6a44d80da597e932e9d475bda8546bd

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Mon Jan 30 11:10:27 2012 +0100

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

This also avoids a segfault on startup.

---

 libavcodec/h264.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 581848b..8b8c4fe 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");

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to