mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Remove warning: C++11 requires a space between string literal and macro (#874)
On Ubuntu 17.04, the default gcc compiler version is 6.3.0. It switch standard from c++98 to c++11. So it would generate verbose warnings.
This commit is contained in:
parent
a58874178b
commit
815d50f00a
32 changed files with 114 additions and 114 deletions
|
@ -959,7 +959,7 @@ int SrsFlvVodStreamDecoder::seek2(int64_t offset)
|
|||
if (offset >= reader->filesize()) {
|
||||
ret = ERROR_SYSTEM_FILE_EOF;
|
||||
srs_warn("flv fast decoder seek overflow file, "
|
||||
"size=%"PRId64", offset=%"PRId64", ret=%d",
|
||||
"size=%" PRId64 ", offset=%" PRId64 ", ret=%d",
|
||||
reader->filesize(), offset, ret);
|
||||
return ret;
|
||||
}
|
||||
|
@ -967,7 +967,7 @@ int SrsFlvVodStreamDecoder::seek2(int64_t offset)
|
|||
if (reader->seek2(offset) < 0) {
|
||||
ret = ERROR_SYSTEM_FILE_SEEK;
|
||||
srs_warn("flv fast decoder seek error, "
|
||||
"size=%"PRId64", offset=%"PRId64", ret=%d",
|
||||
"size=%" PRId64 ", offset=%" PRId64 ", ret=%d",
|
||||
reader->filesize(), offset, ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue