159
159
* Read a whole line of text from AVIOContext. Stop reading after reaching
161
161
* and may be truncated if the buffer is too small.
163
163
* @param s the read-only AVIOContext
164
164
* @param buf buffer to store the read line
165
165
* @param maxlen size of the buffer
166
166
* @return the length of the string written in the buffer, not including the
169
169
int ff_get_line(AVIOContext *s, char *buf, int maxlen);