File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3338,12 +3338,14 @@ PJ_DEF(pj_status_t) pjsua_avi_player_get_port(pjsua_player_id id,
3338
3338
PJSUA_INVALID_ID );
3339
3339
3340
3340
* p_port = pjsua_var .avi_player [id ].port [AUD_IDX (id , strm_idx )];
3341
+ break ;
3341
3342
case PJMEDIA_TYPE_VIDEO :
3342
3343
PJ_ASSERT_RETURN (strm_idx >= 0 &&
3343
3344
strm_idx < pjsua_var .avi_player [id ].vid_cnt ,
3344
3345
PJSUA_INVALID_ID );
3345
3346
3346
3347
* p_port = pjsua_var .avi_player [id ].port [strm_idx ];
3348
+ break ;
3347
3349
default :
3348
3350
status = PJ_ENOTFOUND ;
3349
3351
}
@@ -3385,6 +3387,9 @@ PJ_DECL(pj_status_t) pjsua_avi_player_destroy(pjsua_avi_player_id id)
3385
3387
if (status != PJ_SUCCESS ) {
3386
3388
PJ_PERROR (4 , (THIS_FILE , status ,
3387
3389
"Fail destroying avi file player %d" , id ));
3390
+
3391
+ PJSUA_UNLOCK ();
3392
+ pj_log_pop_indent ();
3388
3393
return status ;
3389
3394
}
3390
3395
You can’t perform that action at this time.
0 commit comments