1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-26 17:43:33 +00:00

Changed to conform to recent changes to the "LIVE.COM Streaming Media" code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11756 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rsf 2004-01-06 09:30:27 +00:00
parent beeb1b127d
commit 3b8f28041c

View File

@ -390,7 +390,9 @@ extern "C" void demux_close_rtp(demuxer_t* demuxer) {
// >= the largest conceivable frame composed from one or more RTP packets
static void afterReading(void* clientData, unsigned frameSize,
struct timeval presentationTime) {
unsigned /*numTruncatedBytes*/,
struct timeval presentationTime,
unsigned /*durationInMicroseconds*/) {
if (frameSize >= MAX_RTP_FRAME_SIZE) {
fprintf(stderr, "Saw an input frame too large (>=%d). Increase MAX_RTP_FRAME_SIZE in \"demux_rtp.cpp\".\n",
MAX_RTP_FRAME_SIZE);