Commit 20f90c1f authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

evr: Get rid of the evr_filter typedef.

parent b615eacd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment