mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 07:10:21 +00:00
avcodec/crystalhd: use av_freep() to avoid stale pointers
this leaves some av_free() where the pointer is overwritten shortly later Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
adfc3b81b1
commit
a1cb8779e2
@ -362,7 +362,7 @@ static av_cold int uninit(AVCodecContext *avctx)
|
||||
av_bitstream_filter_close(priv->bsfc);
|
||||
}
|
||||
|
||||
av_free(priv->sps_pps_buf);
|
||||
av_freep(&priv->sps_pps_buf);
|
||||
|
||||
av_frame_free (&priv->pic);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user