Commit a04d3e66 authored by philipjsg's avatar philipjsg

* Change extern inline to static inline. This improves compiling without optimization.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@461 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b920d8fa
...@@ -112,13 +112,13 @@ unsigned int get_be16(ByteIOContext *s); ...@@ -112,13 +112,13 @@ unsigned int get_be16(ByteIOContext *s);
unsigned int get_be32(ByteIOContext *s); unsigned int get_be32(ByteIOContext *s);
UINT64 get_be64(ByteIOContext *s); UINT64 get_be64(ByteIOContext *s);
extern inline int url_is_streamed(ByteIOContext *s) static inline int url_is_streamed(ByteIOContext *s)
{ {
return s->is_streamed; return s->is_streamed;
} }
/* get the prefered packet size of the device. All I/Os should be done /* get the prefered packet size of the device. All I/Os should be done
by multiple of this size */ by multiple of this size */
extern inline int url_get_packet_size(ByteIOContext *s) static inline int url_get_packet_size(ByteIOContext *s)
{ {
return s->packet_size; return s->packet_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