[FFmpeg-cvslog] avcodec/flashsv: use av_freep() for tmpblock

Paul B Mahol git at videolan.org
Tue Nov 5 14:21:06 CET 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Nov  5 12:56:59 2013 +0000| [82f5c4d737ca6ca5c4b956a048f3b59575db9bc2] | committer: Paul B Mahol

avcodec/flashsv: use av_freep() for tmpblock

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82f5c4d737ca6ca5c4b956a048f3b59575db9bc2
---

 libavcodec/flashsv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index ee33060..6527dac 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -482,7 +482,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx)
     av_frame_unref(&s->frame);
 
     /* free the tmpblock */
-    av_free(s->tmpblock);
+    av_freep(&s->tmpblock);
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list