Skip to content

Commit

Permalink
Snapshot structs on GrainMedia don't need the special declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
wberube committed Aug 17, 2024
1 parent 65e8972 commit 57f86b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hal/plus/gm_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ int gm_video_snapshot_grab(short width, short height, char quality, hal_jpegdata
unsigned int length = 1 * 1024 * 1024;
char *buffer = malloc(length);

GM_DECLARE(gm_lib, snap, gm_venc_snap, "snapshot");
int size = sizeof(gm_venc_snap);
gm_venc_snap snap;
snap.bind = _gm_venc_fds[0].bind;
snap.quality = quality;
snap.buffer = buffer;
Expand Down

0 comments on commit 57f86b9

Please sign in to comment.