mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
h264-test: Remove unused DSP and AVCodec contexts and related init calls.
This also avoids a segfault on startup.
This commit is contained in:
parent
b010178e84
commit
3856a2aaa6
@ -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…
x
Reference in New Issue
Block a user