# Deleterp

<a id="deleterp"></a>

# Deleterp

```cpp
#include <icy/av/ffmpeg.h>

template<typename T, typename R, R(*)(T **) Fn>
struct Deleterp
```

[Defined in src/av/include/icy/av/ffmpeg.h:81](https://github.com/auscaster/icey/blob/main/src/av/include/icy/av/ffmpeg.h#L81)

[Deleter](https://auscaster.com/icey/docs/api-reference/icy-av-Deleter.md#deleter-1) adaptor for functions like av_freep that take a pointer to a pointer.

## Public Methods

| Return | Name | Description |
|--------|------|-------------|
| `void` | [`operator()`](#operator-145) `const` `inline` |  |

---

<a id="operator-145"></a>

### operator()

`const` `inline`

```cpp
inline void operator()(T * p) const
```

[Defined in src/av/include/icy/av/ffmpeg.h:83](https://github.com/auscaster/icey/blob/main/src/av/include/icy/av/ffmpeg.h#L83)
