wenjiegit

for merge

@@ -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.
@@ -221,4 +221,4 @@ public: @@ -221,4 +221,4 @@ public:
221 virtual void set_cache(bool enabled); 221 virtual void set_cache(bool enabled);
222 }; 222 };
223 223
224 -#endif  
  224 +#endif