Showing the changes to libavfilter/avfilter.c (1 of 4 files). Show all
Unified · Split
| @@ -160,6 +160,12 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref) · 159 unmodified lines | |||
| 160 | av_free(ref); | 160 | av_free(ref); |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | void avfilter_unref_bufferp(AVFilterBufferRef **ref) | ||
| 164 | { | ||
| 165 | avfilter_unref_buffer(*ref); | ||
| 166 | *ref = NULL; | ||
| 167 | } | ||
| 168 | |||
| 163 | void avfilter_insert_pad(unsigned idx, unsigned *count, size_t padidx_off, | 169 | void avfilter_insert_pad(unsigned idx, unsigned *count, size_t padidx_off, |
| 164 | AVFilterPad **pads, AVFilterLink ***links, | 170 | AVFilterPad **pads, AVFilterLink ***links, |
| 165 | AVFilterPad *newpad) | 171 | AVFilterPad *newpad) |