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
Remove forgotten if (p) av_free(p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.8
Clément Bœsch
Mans Rullgard
15 years ago
parent
523d9407d5
commit
290849e2a4
2 changed files
with
2 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavfilter/defaults.c
+1
-2
libavformat/avidec.c
+ 1
- 1
libavfilter/defaults.c
View File
@@ -126,7 +126,7 @@ AVFilterBufferRef *avfilter_default_get_audio_buffer(AVFilterLink *link, int per
return ref;
fail:
if (ref
&& ref->audio
)
if (ref)
av_free(ref->audio);
av_free(ref);
av_free(samples);
+ 1
- 2
libavformat/avidec.c
View File
@@ -1354,8 +1354,7 @@ static int avi_read_close(AVFormatContext *s)
}
}
if (avi->dv_demux)
av_free(avi->dv_demux);
av_free(avi->dv_demux);
return 0;
}
Write
Preview
Loading…
Cancel
Save