evr: Get rid of the evr_filter typedef.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b615eacd9e
commit
20f90c1f89
|
@ -31,19 +31,19 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(evr);
|
||||
|
||||
typedef struct
|
||||
struct evr
|
||||
{
|
||||
struct strmbase_renderer renderer;
|
||||
} evr_filter;
|
||||
};
|
||||
|
||||
static inline evr_filter *impl_from_strmbase_renderer(struct strmbase_renderer *iface)
|
||||
static struct evr *impl_from_strmbase_renderer(struct strmbase_renderer *iface)
|
||||
{
|
||||
return CONTAINING_RECORD(iface, evr_filter, renderer);
|
||||
return CONTAINING_RECORD(iface, struct evr, renderer);
|
||||
}
|
||||
|
||||
static void evr_destroy(struct strmbase_renderer *iface)
|
||||
{
|
||||
evr_filter *filter = impl_from_strmbase_renderer(iface);
|
||||
struct evr *filter = impl_from_strmbase_renderer(iface);
|
||||
|
||||
strmbase_renderer_cleanup(&filter->renderer);
|
||||
free(filter);
|
||||
|
@ -70,7 +70,7 @@ static const struct strmbase_renderer_ops renderer_ops =
|
|||
|
||||
HRESULT evr_filter_create(IUnknown *outer, void **out)
|
||||
{
|
||||
evr_filter *object;
|
||||
struct evr *object;
|
||||
|
||||
if (!(object = calloc(1, sizeof(*object))))
|
||||
return E_OUTOFMEMORY;
|
||||
|
|
Loading…
Reference in New Issue