Skip to content

Commit

Permalink
Fix 'NULL' into 'null'
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Ma <[email protected]>
  • Loading branch information
begeekmyfriend committed Feb 21, 2017
1 parent 61c434a commit 88f3f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/main/java/net/ossrs/yasea/SrsPublisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ public void switchCameraFace(int id) {
} else {
mEncoder.setCameraFrontFace();
}
if (mEncoder != NULL && mEncoder.isEnabled()) {
mCameraView.enableEncoding();
if (mEncoder != null && mEncoder.isEnabled()) {
mCameraView.enableEncoding();
}
mCameraView.startCamera();
}
Expand Down

0 comments on commit 88f3f2f

Please sign in to comment.