This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/vmdav: use av_freep() and reset unpack_buffer_size
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.2-rc1
Paul B Mahol
12 years ago
parent
4f0e85517f
commit
2145e8f193
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavcodec/vmdav.c
+ 2
- 1
libavcodec/vmdav.c
View File
@@ -458,7 +458,8 @@ static av_cold int vmdvideo_decode_end(AVCodecContext *avctx)
VmdVideoContext *s = avctx->priv_data;
av_frame_unref(&s->prev_frame);
av_free(s->unpack_buffer);
av_freep(&s->unpack_buffer);
s->unpack_buffer_size = 0;
return 0;
}
Write
Preview
Loading…
Cancel
Save