| Index: content/common/gpu/media/omx_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/omx_video_decode_accelerator.cc b/content/common/gpu/media/omx_video_decode_accelerator.cc
|
| index 3ae43f73d4052ccd141f3425f51fd44236a15618..2dfc1da7dc9bfc9c5deceea77833b8a33994adaf 100644
|
| --- a/content/common/gpu/media/omx_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/omx_video_decode_accelerator.cc
|
| @@ -489,10 +489,9 @@ void OmxVideoDecodeAccelerator::FlushIOPorts() {
|
| // Flush input port first.
|
| DCHECK(!on_flush_event_func_);
|
| on_flush_event_func_ = &OmxVideoDecodeAccelerator::InputPortFlushDone;
|
| - OMX_ERRORTYPE result;
|
| - result = OMX_SendCommand(component_handle_,
|
| - OMX_CommandFlush,
|
| - input_port_, 0);
|
| + OMX_ERRORTYPE result = OMX_SendCommand(component_handle_,
|
| + OMX_CommandFlush,
|
| + input_port_, 0);
|
| if (result != OMX_ErrorNone) {
|
| LOG(ERROR) << "OMX_SendCommand(OMX_CommandFlush) failed";
|
| StopOnError();
|
|
|