History

Silence ridiculous gcc warning.

Originally committed as revision 22654 to svn://svn.ffmpeg.org/ffmpeg/trunk

Carl Eugen Hoyos committed 16 years ago

Commit d6928501 parent c6a5e081 file · +1 −1Browse files

Unified · Split

libavformat/matroskaenc.c+1−1
@@ -909,7 +909,7 @@ static int mkv_write_packet(AVFormatContext *s, AVPacket *pkt) · 908 unmodified lines
909 }909 }
910 910
911 // start a new cluster every 5 MB or 5 sec, or 32k / 1 sec for streaming911 // start a new cluster every 5 MB or 5 sec, or 32k / 1 sec for streaming
912 if (url_is_streamed(s->pb) && (url_ftell(pb) > 32*1024 || ts > mkv->cluster_pts + 1000)912 if ((url_is_streamed(s->pb) && (url_ftell(pb) > 32*1024 || ts > mkv->cluster_pts + 1000))
913 || url_ftell(pb) > mkv->cluster_pos + 5*1024*1024 || ts > mkv->cluster_pts + 5000) {913 || url_ftell(pb) > mkv->cluster_pos + 5*1024*1024 || ts > mkv->cluster_pts + 5000) {
914 av_log(s, AV_LOG_DEBUG, "Starting new cluster at offset %" PRIu64914 av_log(s, AV_LOG_DEBUG, "Starting new cluster at offset %" PRIu64
915 " bytes, pts %" PRIu64 "\n", url_ftell(pb), ts);915 " bytes, pts %" PRIu64 "\n", url_ftell(pb), ts);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t