diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-22 19:25:45 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-06-22 19:25:45 +0400 |
commit | d5dbb491553587fa41a99cd8603059ea2a4840e2 (patch) | |
tree | 8f57773b4b8def836484780d4d70afa8bfa987e8 /src/filters/parser/FLVSplitter/FLVSplitter.cpp | |
parent | ce19c3eef549ae28b162cad885f8d82756e45554 (diff) |
fix wrong return value (found with /analyze)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5236 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/parser/FLVSplitter/FLVSplitter.cpp')
-rw-r--r-- | src/filters/parser/FLVSplitter/FLVSplitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/parser/FLVSplitter/FLVSplitter.cpp b/src/filters/parser/FLVSplitter/FLVSplitter.cpp index 3d7ccf5fe..92da67191 100644 --- a/src/filters/parser/FLVSplitter/FLVSplitter.cpp +++ b/src/filters/parser/FLVSplitter/FLVSplitter.cpp @@ -610,7 +610,7 @@ HRESULT CFLVSplitterFilter::CreateOutputs(IAsyncReader* pAsyncReader) sar.num = pixel_aspect[aspect_ratio_idc][0];
sar.den = pixel_aspect[aspect_ratio_idc][1];
} else {
- return false;
+ return E_FAIL;
}
} else {
sar.num = 1;
|