Commit 853a0fcc authored by Reimar Döffinger's avatar Reimar Döffinger

Cosmetics: fix indentation and remove a useless else.

Originally committed as revision 24495 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3aa13da9
......@@ -392,20 +392,18 @@ int get_byte(ByteIOContext *s)
{
if (s->buf_ptr >= s->buf_end)
fill_buffer(s);
if (s->buf_ptr < s->buf_end)
return *s->buf_ptr++;
else
return 0;
if (s->buf_ptr < s->buf_end)
return *s->buf_ptr++;
return 0;
}
int url_fgetc(ByteIOContext *s)
{
if (s->buf_ptr >= s->buf_end)
fill_buffer(s);
if (s->buf_ptr < s->buf_end)
return *s->buf_ptr++;
else
return URL_EOF;
if (s->buf_ptr < s->buf_end)
return *s->buf_ptr++;
return URL_EOF;
}
int get_buffer(ByteIOContext *s, unsigned char *buf, int size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment