summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-12-17 18:14:38 +0000
committerDiego Biurrun <diego@biurrun.de>2005-12-17 18:14:38 +0000
commit115329f16062074e11ccf3b89ead6176606c9696 (patch)
treee98aa993905a702688bf821737ab9a443969fc28 /libavformat/avio.c
parentd76319b1ab716320f6e6a4d690b85fe4504ebd5b (diff)
downloadffmpeg-115329f16062074e11ccf3b89ead6176606c9696.tar.gz
COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 3f5efd62ce..0d85a3a729 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -58,7 +58,7 @@ int url_open(URLContext **puc, const char *filename, int flags)
} else {
*q = '\0';
}
-
+
up = first_protocol;
while (up != NULL) {
if (!strcmp(proto_str, up->name))
@@ -108,7 +108,7 @@ int url_write(URLContext *h, unsigned char *buf, int size)
return AVERROR_IO;
/* avoid sending too big packets */
if (h->max_packet_size && size > h->max_packet_size)
- return AVERROR_IO;
+ return AVERROR_IO;
ret = h->prot->url_write(h, buf, size);
return ret;
}
@@ -145,18 +145,18 @@ int url_exist(const char *filename)
offset_t url_filesize(URLContext *h)
{
offset_t pos, size;
-
+
pos = url_seek(h, 0, SEEK_CUR);
size = url_seek(h, -1, SEEK_END)+1;
url_seek(h, pos, SEEK_SET);
return size;
}
-/*
+/*
* Return the maximum packet size associated to packetized file
* handle. If the file is not packetized (stream like http or file on
* disk), then 0 is returned.
- *
+ *
* @param h file handle
* @return maximum packet size in bytes
*/
@@ -176,11 +176,11 @@ static int default_interrupt_cb(void)
return 0;
}
-/**
+/**
* The callback is called in blocking functions to test regulary if
* asynchronous interruption is needed. -EINTR is returned in this
* case by the interrupted function. 'NULL' means no interrupt
- * callback is given.
+ * callback is given.
*/
void url_set_interrupt_cb(URLInterruptCB *interrupt_cb)
{