[Redbutton-devel] SF.net SVN: redbutton: [40] redbutton-browser/trunk/mpegts.c
Brought to you by:
skilvington
|
From: <ski...@us...> - 2006-05-02 13:00:31
|
Revision: 40 Author: skilvington Date: 2006-05-02 06:00:11 -0700 (Tue, 02 May 2006) ViewCVS: http://svn.sourceforge.net/redbutton/?rev=40&view=rev Log Message: ----------- change printf() to error() Modified Paths: -------------- redbutton-browser/trunk/mpegts.c Modified: redbutton-browser/trunk/mpegts.c =================================================================== --- redbutton-browser/trunk/mpegts.c 2006-05-02 12:53:37 UTC (rev 39) +++ redbutton-browser/trunk/mpegts.c 2006-05-02 13:00:11 UTC (rev 40) @@ -216,7 +216,7 @@ nread += fread(buf + nread, 1, TS_PACKET_SIZE - nread, ts); if(*buf != TS_SYNC_BYTE && !feof(ts)) { - printf("Bad sync byte: 0x%02x\n", *buf); + error("MPEG TS demux: bad sync byte: 0x%02x\n", *buf); memmove(buf, buf + 1, TS_PACKET_SIZE - 1); nread = TS_PACKET_SIZE - 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |