Commit 137d008b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ASF: macro removal in ASF_CountObject

parent cddfefc8
......@@ -1583,11 +1583,12 @@ void ASF_FreeObjectRoot( stream_t *s, asf_object_root_t *p_root )
free( p_root );
}
int __ASF_CountObject( asf_object_t *p_obj, const guid_t *p_guid )
int ASF_CountObject( void *_p_obj, const guid_t *p_guid )
{
int i_count;
asf_object_t *p_child;
asf_object_t *p_child, *p_obj;
p_obj = (asf_object_t *)_p_obj;
if( !p_obj )
return 0;
......
......@@ -359,8 +359,7 @@ typedef union asf_object_u
asf_object_root_t *ASF_ReadObjectRoot( stream_t *, int b_seekable );
void ASF_FreeObjectRoot( stream_t *, asf_object_root_t *p_root );
#define ASF_CountObject( a, b ) __ASF_CountObject( (asf_object_t*)(a), b )
int __ASF_CountObject ( asf_object_t *p_obj, const guid_t *p_guid );
int ASF_CountObject ( void *p_obj, const guid_t *p_guid );
#define ASF_FindObject( a, b, c ) __ASF_FindObject( (asf_object_t*)(a), b, c )
void *__ASF_FindObject( asf_object_t *p_obj, const guid_t *p_guid, int i_number );
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