Commit 28c141ee authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ASF: macro removal for ASF_FindObject

parent 137d008b
...@@ -1604,11 +1604,12 @@ int ASF_CountObject( void *_p_obj, const guid_t *p_guid ) ...@@ -1604,11 +1604,12 @@ int ASF_CountObject( void *_p_obj, const guid_t *p_guid )
return i_count; return i_count;
} }
void *__ASF_FindObject( asf_object_t *p_obj, const guid_t *p_guid, void *ASF_FindObject( void *_p_obj, const guid_t *p_guid,
int i_number ) int i_number )
{ {
asf_object_t *p_child; asf_object_t *p_child, *p_obj;
p_obj = (asf_object_t *)_p_obj;
p_child = p_obj->common.p_first; p_child = p_obj->common.p_first;
while( p_child ) while( p_child )
......
...@@ -361,5 +361,4 @@ void ASF_FreeObjectRoot( stream_t *, asf_object_root_t *p_root ); ...@@ -361,5 +361,4 @@ void ASF_FreeObjectRoot( stream_t *, asf_object_root_t *p_root );
int ASF_CountObject ( void *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( void *p_obj, const guid_t *p_guid, int i_number );
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