[FFmpeg-cvslog] h264-test: Remove unused DSP and AVCodec contexts and related init calls.
Diego Biurrun
git at videolan.org
Wed Feb 1 03:06:33 CET 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Jan 30 11:10:27 2012 +0100| [3856a2aaa6a44d80da597e932e9d475bda8546bd] | committer: Diego Biurrun
h264-test: Remove unused DSP and AVCodec contexts and related init calls.
This also avoids a segfault on startup.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3856a2aaa6a44d80da597e932e9d475bda8546bd
---
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");
More information about the ffmpeg-cvslog
mailing list