Skip to content

Commit

Permalink
* fix struct error
Browse files Browse the repository at this point in the history
  • Loading branch information
lxowalle committed Jun 3, 2024
1 parent a39e906 commit 123f51f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/vision/port/maixcam/maix_rtmp_maixcam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ namespace maix::rtmp {
void *data;
int data_size, width, height, format;
do {
mmf_h265_stream_t stream = {0};
mmf_stream_t stream = {0};
if (mmf_venc_pop(MMF_VENC_CHN, &stream)) {
log::error("mmf_venc_pop failed\n");
mmf_venc_free(MMF_VENC_CHN);
Expand Down
4 changes: 2 additions & 2 deletions components/vision/port/maixcam/maix_video_mmf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace maix::video
goto _exit;
}

mmf_h265_stream_t stream = {0};
mmf_stream_t stream = {0};
if (mmf_venc_pop(MMF_VENC_CHN, &stream)) {
log::error("mmf_enc_h265_pull failed\n");
mmf_venc_free(MMF_VENC_CHN);
Expand Down Expand Up @@ -221,7 +221,7 @@ namespace maix::video
void *data;
int data_size, width, height, format;
do {
mmf_h265_stream_t stream = {0};
mmf_stream_t stream = {0};
if (mmf_venc_pop(MMF_VENC_CHN, &stream)) {
log::error("mmf_venc_pop failed\n");
mmf_venc_free(MMF_VENC_CHN);
Expand Down

0 comments on commit 123f51f

Please sign in to comment.