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/avpicture: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer
11 years ago
parent
fa8c6c1350
commit
f703c8cc09
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/avpicture.c
+ 1
- 1
libavcodec/avpicture.c
View File
@@ -66,7 +66,7 @@ int avpicture_alloc(AVPicture *picture,
void avpicture_free(AVPicture *picture)
{
av_free(picture->data[0]);
av_free
p
(
&
picture->data[0]);
}
void av_picture_copy(AVPicture *dst, const AVPicture *src,
Write
Preview
Loading…
Cancel
Save