fixup! webrtc_internal: Revise parameter of webrtc_media_source_set[get]_payload_type() 41/314241/1 accepted/tizen/unified/20240709.165218 accepted/tizen/unified/dev/20240710.032433 accepted/tizen/unified/x/20240710.013017
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 9 Jul 2024 07:26:54 +0000 (16:26 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 9 Jul 2024 07:28:18 +0000 (16:28 +0900)
A compile error on 64-bit has been fixed.

Change-Id: I23615ded2b4d3d1319f18b63a20ec6586a84e517

test/webrtc_test.c

index 42d2cfd72e81628e48fbcd8382878d620529e524..5afdf00f2fb6eb16016099a4bdc2acb1bebe7e91 100644 (file)
@@ -3676,7 +3676,7 @@ static void test_webrtc_media_source(char *cmd)
                        g_ad.input_count++;
                        return;
                case 1: {
-                       webrtc_transceiver_codec_e codec;
+                       webrtc_transceiver_codec_e codec = WEBRTC_TRANSCEIVER_CODEC_PCMU;
                        if (value < 1 || value > 6) {
                                g_printerr("invalid codec selection\n");
                                id = g_ad.input_count = 0;