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
75 return;75 return;
76 if (!(--ref->buf->refcount))76 if (!(--ref->buf->refcount))
77 ref->buf->free(ref->buf);77 ref->buf->free(ref->buf);
78 av_free(ref->video);78 av_freep(&ref->video);
79 av_free(ref->audio);79 av_freep(&ref->audio);
80 av_free(ref);80 av_free(ref);
81}81}
82 82

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