Make Open() return 1 instead of 0

pull/3187/head
Isaac Connor 2021-03-03 09:54:24 -05:00
parent 4cc1da8b89
commit e31c87193d
1 changed files with 2 additions and 2 deletions

View File

@ -118,11 +118,11 @@ int FFmpeg_Input::Open(const char *filepath) {
} // end foreach stream
if ( video_stream_id == -1 )
Error("Unable to locate video stream in %s", filepath);
Warning("Unable to locate video stream in %s", filepath);
if ( audio_stream_id == -1 )
Debug(3, "Unable to locate audio stream in %s", filepath);
return 0;
return 1;
} // end int FFmpeg_Input::Open( const char * filepath )
int FFmpeg_Input::Close( ) {