Feature: change define of cplusplus

pull/221/head
xufuji456 3 years ago
parent 35415d6982
commit 4abffd778b
  1. 9
      app/src/main/cpp/video_player.cpp

@ -14,9 +14,6 @@ extern "C" {
#include "libswscale/swscale.h"
#include "libavutil/imgutils.h"
#include "ffmpeg_jni_define.h"
#ifdef __cplusplus
}
#endif
#define TAG "VideoPlayer"
@ -140,4 +137,8 @@ VIDEO_PLAYER_FUNC(void, setPlayRate, jfloat playRate) {
VIDEO_PLAYER_FUNC(jint, getDuration) {
return duration;
}
}
#ifdef __cplusplus
}
#endif
Loading…
Cancel
Save