History

avfilter_unref_buffer: favor av_freep() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer committed 15 years ago

Commit fa3eddc1 parent c25a8d71 file · +2 −2Browse files

Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.c+2−2
@@ -75,8 +75,8 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref) · 74 unmodified lines
7575 return;
7676 if (!(--ref->buf->refcount))
7777 ref->buf->free(ref->buf);
78− av_free(ref->video);
79− av_free(ref->audio);
78+ av_freep(&ref->video);
79+ av_freep(&ref->audio);
8080 av_free(ref);
8181 }
8282

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t