mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-31 01:09:17 +02:00
bug fixes
This commit is contained in:
+4
-1
@@ -169,7 +169,10 @@ int main(int argc, char **argv) {
|
||||
RDSModulator rdsModulator = {0};
|
||||
|
||||
RDSEncoder rdsEncoder = {0};
|
||||
init_lua(&rdsEncoder);
|
||||
if(init_lua(&rdsEncoder) == 1) {
|
||||
fprintf(stderr, "Could not create lua state - not enough memory\n");
|
||||
goto exit;
|
||||
}
|
||||
init_rds_modulator(&rdsModulator, &rdsEncoder, config.num_streams);
|
||||
init_rds_encoder(&rdsEncoder);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user