Commit 5a9f4ce5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

BDA: unused variable

parent 5f1df38b
...@@ -1900,10 +1900,8 @@ STDMETHODIMP BDAGraph::BufferCB( double /*date*/, BYTE* /*buffer*/, ...@@ -1900,10 +1900,8 @@ STDMETHODIMP BDAGraph::BufferCB( double /*date*/, BYTE* /*buffer*/,
******************************************************************************/ ******************************************************************************/
HRESULT BDAGraph::Destroy() HRESULT BDAGraph::Destroy()
{ {
HRESULT hr = S_OK;
if( p_media_control ) if( p_media_control )
hr = p_media_control->StopWhenReady(); /* Instead of Stop() */ p_media_control->StopWhenReady(); /* Instead of Stop() */
if( d_graph_register ) if( d_graph_register )
{ {
......
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