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
avformat/mpegenc: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
11 years ago
parent
c73b288927
commit
47b9481d9d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/mpegenc.c
+ 1
- 1
libavformat/mpegenc.c
View File
@@ -517,7 +517,7 @@ static av_cold int mpeg_mux_init(AVFormatContext *ctx)
fail:
for (i = 0; i < ctx->nb_streams; i++)
av_free(ctx->streams[i]->priv_data);
av_free
p
(
&
ctx->streams[i]->priv_data);
return AVERROR(ENOMEM);
}
Write
Preview
Loading…
Cancel
Save