summarylogtreecommitdiffstats
path: root/const.patch
blob: 04cbee0227bb1a1061535d511bfccabdaf276439 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/encode_video.c
+++ b/lib/encode_video.c
@@ -58,7 +58,7 @@
 } VideoContext;
 
 // this is a rust function and lives in src/video.rs
-int write_video_packet(void* rust_ctx, uint8_t* buf, int buf_size);
+int write_video_packet(void* rust_ctx, const uint8_t* buf, int buf_size);
 
 #if defined(__clang__) || defined(__GNUC__)
 void log_callback(__attribute__((unused)) void* _ptr, int level, const char* fmt_orig, va_list args)