comparison stream/tvi_dshow.h @ 26029:4129c8cfa742

Add MPLAYER_ prefix to multiple inclusion guards.
author diego
date Fri, 22 Feb 2008 09:09:46 +0000
parents 9d0b189ce1b2
children 87da3db93a44
comparison
equal deleted inserted replaced
26028:afd429e00184 26029:4129c8cfa742
1 #ifndef TVI_DSHOW_H_ 1 #ifndef MPLAYER_TVI_DSHOW_H
2 #define TVI_DSHOW_H_ 2 #define MPLAYER_TVI_DSHOW_H
3 3
4 /// \defgroup tvi_dshow TV driver (Directshow) 4 /// \defgroup tvi_dshow TV driver (Directshow)
5 5
6 #define INITGUID 6 #define INITGUID
7 #include <inttypes.h> 7 #include <inttypes.h>
688 #define OLE_CALL_ARGS(p, method, ...) (p)->lpVtbl->method(p, __VA_ARGS__) 688 #define OLE_CALL_ARGS(p, method, ...) (p)->lpVtbl->method(p, __VA_ARGS__)
689 #endif 689 #endif
690 #define OLE_RELEASE_SAFE(p) if(p){ OLE_CALL((IUnknown*)p,Release); p=NULL;} 690 #define OLE_RELEASE_SAFE(p) if(p){ OLE_CALL((IUnknown*)p,Release); p=NULL;}
691 #define OLE_QUERYINTERFACE(p,iface,ptr) OLE_CALL_ARGS((IUnknown*)p,QueryInterface,&iface,(void*)&ptr) 691 #define OLE_QUERYINTERFACE(p,iface,ptr) OLE_CALL_ARGS((IUnknown*)p,QueryInterface,&iface,(void*)&ptr)
692 692
693 #endif // TVI_DSHOW_H_ 693 #endif /* MPLAYER_TVI_DSHOW_H */