Update rocDecode dispatch table for bit stream reader APIs (#471)
Этот коммит содержится в:
1 родитель
679d2fd1f2
Коммит
37794d045f
4 files changed
+54
-6
No files matched your search
@@ -23,6 +23,7 @@ THE SOFTWARE.
|
||||
#include "../commons.h"
|
||||
#include "bs_reader_handle.h"
|
||||
|
||||
namespace rocdecode {
|
||||
rocDecStatus ROCDECAPI rocDecCreateBitstreamReader(RocdecBitstreamReader *bs_reader_handle, const char *input_file_path) {
|
||||
if (bs_reader_handle == nullptr || input_file_path == nullptr) {
|
||||
return ROCDEC_INVALID_PARAMETER;
|
||||
@@ -98,3 +99,4 @@ rocDecStatus ROCDECAPI rocDecDestroyBitstreamReader(RocdecBitstreamReader bs_rea
|
||||
delete roc_bs_reader_handle;
|
||||
return ROCDEC_SUCCESS;
|
||||
}
|
||||
} // namespace rocdecode
|
||||
Reference in new issue
Block a user