Fix a bug for the video sequence callback function (#31)

This commit is contained in:
Aryan Salmanpour
2023-11-02 14:34:52 -04:00
committed by GitHub
parent 89a278bd1b
commit 874bd59d89
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ void HEVCVideoParser::FillSeqCallbackFn(SpsData* sps_data) {
video_format_params_.seqhdr_data_length = 0;
// callback function with RocdecVideoFormat params filled out
pfn_sequece_cb_ = PFNVIDSEQUENCECALLBACK(&video_format_params_);
pfn_sequece_cb_(parser_params_.pUserData, &video_format_params_);
}
bool HEVCVideoParser::ParseFrameData(const uint8_t* p_stream, uint32_t frame_data_size) {