improve ff_get_line to return line length

Originally committed as revision 24400 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs
2010-07-21 21:40:10 +00:00
parent 7c89295145
commit a43416a540
2 changed files with 4 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ int ff_get_v_length(uint64_t val);
*/
void ff_put_v(ByteIOContext *bc, uint64_t val);
void ff_get_line(ByteIOContext *s, char *buf, int maxlen);
int ff_get_line(ByteIOContext *s, char *buf, int maxlen);
#define SPACE_CHARS " \t\r\n"