aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--loader/dshow/cmediasample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/dshow/cmediasample.c b/loader/dshow/cmediasample.c
index e4431162ce..f4234bf3d5 100644
--- a/loader/dshow/cmediasample.c
+++ b/loader/dshow/cmediasample.c
@@ -83,7 +83,7 @@ void CMediaSample_Destroy(CMediaSample* This)
free(This->vt);
free(This->own_block);
if(((CMediaSample*)This)->type_valid)
- FreeMediaType(&(This->media_type));
+ FreeMediaType(&(This->media_type));
free(This);
}
@@ -377,7 +377,7 @@ static HRESULT STDCALL CMediaSample_SetMediaType(IMediaSample * This,
return E_INVALIDARG;
t = &((CMediaSample*)This)->media_type;
if(((CMediaSample*)This)->type_valid)
- FreeMediaType(t);
+ FreeMediaType(t);
CopyMediaType(t,pMediaType);
((CMediaSample*) This)->type_valid=1;