正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -80,7 +80,7 @@ else | @@ -80,7 +80,7 @@ else | ||
| 80 | --yasmexe=${ff_yasm_bin} \ | 80 | --yasmexe=${ff_yasm_bin} \ |
| 81 | --prefix=${ff_release_dir} --cc= \ | 81 | --prefix=${ff_release_dir} --cc= \ |
| 82 | --enable-static --disable-shared --disable-debug \ | 82 | --enable-static --disable-shared --disable-debug \ |
| 83 | - --extra-cflags='-I${ffmpeg_exported_release_dir}/include -I /usr/include/freetype2/' \ | 83 | + --extra-cflags='-I${ffmpeg_exported_release_dir}/include' \ |
| 84 | --extra-ldflags='-L${ffmpeg_exported_release_dir}/lib -lm -ldl' \ | 84 | --extra-ldflags='-L${ffmpeg_exported_release_dir}/lib -lm -ldl' \ |
| 85 | --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc \ | 85 | --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc \ |
| 86 | --enable-postproc --enable-bzlib --enable-zlib --enable-parsers \ | 86 | --enable-postproc --enable-bzlib --enable-zlib --enable-parsers \ |
| @@ -169,7 +169,7 @@ public: | @@ -169,7 +169,7 @@ public: | ||
| 169 | * @return the matched source, never be NULL. | 169 | * @return the matched source, never be NULL. |
| 170 | * @remark stream_url should without port and schema. | 170 | * @remark stream_url should without port and schema. |
| 171 | */ | 171 | */ |
| 172 | - static SrsSource* find(std::string stream_url); | 172 | + static SrsSource* find(const std::string& stream_url); |
| 173 | private: | 173 | private: |
| 174 | std::string stream_url; | 174 | std::string stream_url; |
| 175 | // to delivery stream to clients. | 175 | // to delivery stream to clients. |
-
请 注册 或 登录 后发表评论