Show the right message if no output file has been specified
H264DecodeInstance expects the pointer to be a null pointer if no file has been specified.
This commit is contained in:
parent
3e13874a77
commit
83e7e7fbd9
@ -445,7 +445,7 @@ int32_t main (int32_t iArgC, char* pArgV[]) {
|
||||
int32_t iHeight = 0;
|
||||
|
||||
|
||||
H264DecodeInstance (pDecoder, strInputFile.c_str(), strOutputFile.c_str(), iWidth, iHeight,
|
||||
H264DecodeInstance (pDecoder, strInputFile.c_str(), !strOutputFile.empty() ? strOutputFile.c_str() : NULL, iWidth, iHeight,
|
||||
(!strOptionFile.empty() ? strOptionFile.c_str() : NULL));
|
||||
|
||||
if (sDecParam.pFileNameRestructed != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user