Skip to content
Snippets Groups Projects
Commit 5faa8e75 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vout: keep vout_thread_sys_t private

parent 71e0ff27
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,6 @@
* Video output thread interface
*/
/**
* Video output thread private structure
*/
typedef struct vout_thread_sys_t vout_thread_sys_t;
/**
* Video output thread descriptor
*
......@@ -60,7 +55,7 @@ struct vout_thread_t {
struct vlc_object_t obj;
/* Private vout_thread data */
vout_thread_sys_t *p;
void *p;
};
/* Alignment flags */
......
......@@ -1889,7 +1889,7 @@ static vout_thread_t *vout_CreateCommon(vlc_object_t *object)
{
/* Allocate descriptor */
vout_thread_t *vout = vlc_custom_create(object,
sizeof(*vout) + sizeof(*vout->p),
sizeof(*vout) + sizeof(vout_thread_sys_t),
"video output");
if (!vout)
return NULL;
......
......@@ -60,7 +60,10 @@ enum vout_crop_mode {
VOUT_CROP_NONE, VOUT_CROP_RATIO, VOUT_CROP_WINDOW, VOUT_CROP_BORDER,
};
/* */
/**
* Video output thread private structure
*/
typedef struct vout_thread_sys_t vout_thread_sys_t;
struct vout_thread_sys_t
{
bool dummy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment