move ff_get_line to aviobuf.c