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
avutil/audio_fifo: Use av_fifo_freep() and remove redundant if()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2
Michael Niedermayer
8 years ago
parent
44453c09e4
commit
d790e48830
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
libavutil/audio_fifo.c
+ 1
- 2
libavutil/audio_fifo.c
View File
@@ -48,8 +48,7 @@ void av_audio_fifo_free(AVAudioFifo *af)
if (af->buf) {
int i;
for (i = 0; i < af->nb_buffers; i++) {
if (af->buf[i])
av_fifo_free(af->buf[i]);
av_fifo_freep(&af->buf[i]);
}
av_freep(&af->buf);
}
Write
Preview
Loading…
Cancel
Save