mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avcodec/avdct: use the proper function to free AVCodecContext
Fixes ticket #7074 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
3eff98c927
commit
3c245707bd
1 changed files with 1 additions and 2 deletions
|
|
@ -123,8 +123,7 @@ int avcodec_dct_init(AVDCT *dsp)
|
|||
}
|
||||
#endif
|
||||
|
||||
avcodec_close(avctx);
|
||||
av_free(avctx);
|
||||
avcodec_free_context(&avctx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue