Commit 6af76b3d authored by Alexandre Julliard's avatar Alexandre Julliard

quartz: Avoid %ll printf formats.

parent 711275e2
...@@ -128,7 +128,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte ...@@ -128,7 +128,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
assert(hr == S_OK); assert(hr == S_OK);
assert(ash.cbSrcLengthUsed); assert(ash.cbSrcLengthUsed);
TRACE("Sample start time: %lld.%03lld\n", (tStart/10000000), (tStart/10000)%1000); TRACE("Sample start time: %u.%03u\n", (DWORD)(tStart/10000000), (DWORD)((tStart/10000)%1000));
if (ash.cbSrcLengthUsed == cbSrcStream) if (ash.cbSrcLengthUsed == cbSrcStream)
{ {
IMediaSample_SetTime(pOutSample, &tStart, &tStop); IMediaSample_SetTime(pOutSample, &tStart, &tStop);
...@@ -146,7 +146,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte ...@@ -146,7 +146,7 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
ERR("No valid timestamp found\n"); ERR("No valid timestamp found\n");
IMediaSample_SetTime(pOutSample, NULL, NULL); IMediaSample_SetTime(pOutSample, NULL, NULL);
} }
TRACE("Sample stop time: %lld.%03lld\n", (tStart/10000000), (tStart/10000)%1000); TRACE("Sample stop time: %u.%03u\n", (DWORD)(tStart/10000000), (DWORD)((tStart/10000)%1000));
hr = OutputPin_SendSample((OutputPin*)This->tf.ppPins[1], pOutSample); hr = OutputPin_SendSample((OutputPin*)This->tf.ppPins[1], pOutSample);
if (hr != S_OK && hr != VFW_E_NOT_CONNECTED) { if (hr != S_OK && hr != VFW_E_NOT_CONNECTED) {
......
...@@ -291,7 +291,7 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, BYTE** fbuf, DWORD *flen) ...@@ -291,7 +291,7 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, BYTE** fbuf, DWORD *flen)
hr = copy_data(This->pCurrentSample, fbuf, flen, length); hr = copy_data(This->pCurrentSample, fbuf, flen, length);
if (FAILED(hr)) if (FAILED(hr))
{ {
WARN("Couldn't set data size to %lld\n", length); WARN("Couldn't set data size to %x%08x\n", (DWORD)(length >> 32), (DWORD)length);
This->skipbytes = length; This->skipbytes = length;
return hr; return hr;
} }
...@@ -313,7 +313,7 @@ out_append: ...@@ -313,7 +313,7 @@ out_append:
sampleduration = 0; sampleduration = 0;
IMediaSample_SetTime(This->pCurrentSample, &time, &This->position); IMediaSample_SetTime(This->pCurrentSample, &time, &This->position);
} }
TRACE("Media time: %lld.%03lld\n", (This->position/10000000), (This->position/10000)%1000); TRACE("Media time: %u.%03u\n", (DWORD)(This->position/10000000), (DWORD)((This->position/10000)%1000));
hr = OutputPin_SendSample(&pOutputPin->pin, This->pCurrentSample); hr = OutputPin_SendSample(&pOutputPin->pin, This->pCurrentSample);
if (FAILED(hr)) if (FAILED(hr))
...@@ -662,7 +662,7 @@ static HRESULT MPEGSplitter_pre_connect(IPin *iface, IPin *pConnectPin) ...@@ -662,7 +662,7 @@ static HRESULT MPEGSplitter_pre_connect(IPin *iface, IPin *pConnectPin)
} }
} }
hr = S_OK; hr = S_OK;
TRACE("Duration: %lld seconds\n", duration / 10000000); TRACE("Duration: %d seconds\n", (DWORD)(duration / 10000000));
TRACE("Parsing took %u ms\n", GetTickCount() - ticks); TRACE("Parsing took %u ms\n", GetTickCount() - ticks);
break; break;
} }
......
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