You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user